-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
Fix: Do not crash when event processors throw a lower level Throwable class #1800
Fix: Do not crash when event processors throw a lower level Throwable class #1800
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I have no idea what I'm doing anyway :D
…s://github.com/getsentry/sentry-java into fix/android-perf-processor-abstractmethoderror
@@ -235,7 +235,7 @@ private SentryTransaction processTransaction( | |||
for (final EventProcessor processor : eventProcessors) { | |||
try { | |||
transaction = processor.process(transaction, hint); | |||
} catch (Exception e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have other places in the codebase we should make this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe yes...
* Returns the event itself | ||
* | ||
* @param event the SentryEvent the SentryEvent | ||
* @param hint the Hint the Hint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confusing 🤪
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed, it was auto-generated, didn't realize the confusion :(
📜 Description
Fix: Do not crash when event processors throw a lower level Throwable class
💡 Motivation and Context
getsentry/sentry-unity#398
💚 How did you test it?
running it on newer Unity versions
📝 Checklist
🔮 Next steps