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

captureException captures the wrong stack trace #341

Open
remvst opened this issue Mar 6, 2025 · 0 comments
Open

captureException captures the wrong stack trace #341

remvst opened this issue Mar 6, 2025 · 0 comments
Labels
Platform: KMP Type: Bug Something isn't working

Comments

@remvst
Copy link

remvst commented Mar 6, 2025

Platform

Apple

Installed

CocoaPods

Version

0.9.0

Steps to Reproduce

  1. create a Throwable at site A
  2. call captureException() from site B

Expected Result

Exception on the dashboard should include the stack trace at the time the exception was instantiated (i.e. site A)

Actual Result

Exception on the dashboard includes the stack trace at the time captureException() is called (i.e. site B)

Image

Notice how the top of the stack includes Sentry. Breadcrumbs seem accurate though.

Works as expected on Android, but not on iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: KMP Type: Bug Something isn't working
Projects
Status: Needs Discussion
Development

No branches or pull requests

1 participant