Skip to content
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

Uncaught exceptions do not go through BeforeSendCallback on Android #3391

Open
jhowens89 opened this issue Apr 25, 2024 · 2 comments
Open

Uncaught exceptions do not go through BeforeSendCallback on Android #3391

jhowens89 opened this issue Apr 25, 2024 · 2 comments

Comments

@jhowens89
Copy link

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.

@markushi
Copy link
Member

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.

@markushi
Copy link
Member

markushi commented May 8, 2024

@jhowens89 did you have any chance to look into this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Waiting for: Community
Status: Needs More Information
Development

No branches or pull requests

2 participants