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

Closed
jhowens89 opened this issue Apr 25, 2024 · 3 comments
Closed

Uncaught exceptions do not go through BeforeSendCallback on Android #3391

jhowens89 opened this issue Apr 25, 2024 · 3 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?

@markushi
Copy link
Member

@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.

@markushi markushi closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Archived in project
Archived in project
Development

No branches or pull requests

2 participants