jhomlala / catcher

Flutter error catching & handling plugin. Handles and reports exceptions in your app!
Apache License 2.0
784 stars 175 forks source link

fix: SentryHandler not handle stack trace #225

Open shenjingfs opened 2 years ago

shenjingfs commented 2 years ago

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 commented 2 years ago

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