Closed
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 package are you using?
@sentry/browser
SDK Version
7.8.1
Framework Version
No response
Link to Sentry event
https://sentry.io/organizations/gritlife/issues/3488117873/?project=6136884
Steps to Reproduce
No idea. 90% of our events are this error. v6 used to send almost only self._handler is not a function
We install via NPM and bundle with browserify.
We initialize via:
const Sentry = require('@sentry/browser');
const { Integrations } = require('@sentry/tracing');
Sentry.init({
integrations: [new Integrations.BrowserTracing()],
...config.sentry
});
The only potentially relevant note is that we do add a global error handler to handle one specific third-party issue, and re-throw all errors that are not the error we are after, basically:
window.addEventListener('error', event => {
// Check if it's one specific error
// If not, rethrow in a new stack to escape promises.
setTimeout(function () {
throw event.error;
});
});
Expected Result
Not get this internal sentry bug.
Actual Result
We get this issue reported.
Metadata
Metadata
Assignees
Labels
No labels