sentry-java
sentry-java copied to clipboard
Uncaught exceptions do not go through BeforeSendCallback on Android
Integration
sentry-android
Build System
Gradle
AGP Version
8.2.2
Proguard
Enabled
Version
7.8.0
Steps to Reproduce
Initialize a BeforeSendCallback that logs exceptions. Manually throw an exception. Notice that callback is never invoked with the exception.
Expected Result
BeforeSendCallback is invoked with uncaught exception.
Actual Result
BeforeSendCallback is not invoked with uncaught exception.
Hey @jhowens89, thanks for reaching out. Could you share a few code snippets on how you initialize the SDK?
Enabling debug mode via options.setDebug should be a good first start, the logcat output should contain some valuable information in case events get dropped.
@jhowens89 did you have any chance to look into this?
@jhowens89 we're closing this for now, if still think there's an issue feel free to add a comment with some more details and we'll re-open this ticket.