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
Fix #213 #191
As of Sentry 4.0.0, the type of the
SentryEvent.stackTrace
has been changed fromdynamic
toSentryStackTrace
, and a new parameterdynamic stackTrace
has been added toSentryClient.captureEvent
. The commit #724a4d removesstackTrace
in thebuildEvent
method, but callsSentryClient.captureEvent
without addingstackTrace
, which causes Sentry to captureStackTrace.current