-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
8.44.0
Framework Version
Next 14.0.2
Link to Sentry event
No response
Reproduction Example/SDK Setup
sentry.client.config.js:
{
debug: true
integrations: (integrations) =>
integrations.filter((integration) => integration.name != 'Dedupe'),
}Steps to Reproduce
Call let eventId = Sentry.captureException(error) in window.onerror.
Sentry has already captured the event (in the GlobalHandlers integration?).
Expected Result
A second error should be sent to Sentry since Dedupe integration is removed and the eventId returned should correspond to this event.
Actual Result
Second error is not send and eventId cannot be found on Sentry. Sentry prints out the following debug message:
Sentry Logger [log]: Not capturing exception because it's already been captured.
Metadata
Metadata
Assignees
Labels
Projects
Status
No status