Skip to content

fix: SentryHandler not handle stack trace#225

Open
shenjingfs wants to merge 2 commits intojhomlala:masterfrom
shenjingfs:master
Open

fix: SentryHandler not handle stack trace#225
shenjingfs wants to merge 2 commits intojhomlala:masterfrom
shenjingfs:master

Conversation

@shenjingfs
Copy link
Copy Markdown

Fix #213 #191

As of Sentry 4.0.0, the type of the SentryEvent.stackTrace has been changed from dynamic to SentryStackTrace, and a new parameter dynamic stackTrace has been added to SentryClient.captureEvent.
The commit #724a4d removes stackTrace in the buildEvent method, but calls SentryClient.captureEvent without adding stackTrace, which causes Sentry to capture StackTrace.current

@definitelyme
Copy link
Copy Markdown

Can this be merged? @jhomlala
Causing issues in production!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] StackTrace in Sentry is incorrect when using reportCheckedError

2 participants