Handled vs Unhandled Exceptions. #2553
-
Our team engulfed an older application (React Native) that was running RN Sentry 2.6.0, so we went through the upgrade the past few weeks and took up to the latest. One thing that immediately changed for us was a huge influx of errors once deployed to production. On further investigation though this was "Handled" exceptions vs "Unhandled". So all the new errors we saw were handled exceptions that were properly handled and not much of a concern. I'm guessing the old Sentry 2.6.0 didn't upstream "handled" exceptions. However, to the client this was quite a scare and saw thousands of new errors. I started doing some research and found this PR on the Java side: getsentry/sentry-java#1248, which seemed to change the default to NOT send handled exceptions. I'm just hoping to get some clarity or even configurations that would allow me to change the behavior when upstreaming handled exceptions to Sentry. For new projects and such, I'd keep it as-is and unchanged but engulfing such a large application with thousands of exceptions that are handled - I would like to somehow disable this and learn a bit about this distinction. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@iBotPeaches getsentry/sentry-java#1248 is related to Spring only, so not related to this at all.
Do you mean that some events were not supposed to be sent to Sentry? |
Beta Was this translation helpful? Give feedback.
@iBotPeaches getsentry/sentry-java#1248 is related to Spring only, so not related to this at all.
I don't understand what you mean by:
Do you mean that some events were not supposed to be sent to Sentry?
Or do you mean that events were not grouped together anymore and raised new issues that were already fixed in the past?
Please clarify your issue and give us more context.
Also, in case you have sentry.io issue links for us, so we can look into the events, thanks.