Skip to content

captureException captures the wrong stack trace #341

Open
@remvst

Description

@remvst

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.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Needs Investigation

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions