New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error still upload even if do not invoke captureException #13409
Comments
Have you made sure that the global |
@markstory thanks for your reply, I do not set a window.onerror handler or any onerror options to sentry initialization. But I have read from the document that:
Is that means the error will upload automatically even I do not use captureException ? and I also have tested |
Yes, that behavior comes from one of the default integrations. You can disable the default integrations if you want. Here are the default integrations with some examples on how to disable specific ones. |
Closing this issue due to staleness. Feel free to comment here if you think we should still work on this. |
Important Details
How are you running Sentry?
Description
I can not confirm whether it is a bug that if we once used captureException to report error to sentry and after that even if we remove the captureException code, the error is still uploaded to sentry. what happened?
Steps to Reproduce
use captureException to report an error.
remove or comment the above captureException code.
Still can see the new uploaded error.
Good items to include here include:
What you expected to happen
The error is not supposed to uploaded to Sentry Issues since we have remove the captureException
Version
Sentry: @sentry/browser 5.3.0
React: 16.8.6
The text was updated successfully, but these errors were encountered: