-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: browserIssues related to the Sentry Browser SDKIssues related to the Sentry Browser SDKType: Improvement
Description
Package + Version
@sentry/browser
Version:
5.6.3
Description
I'm using mobx-state-tree
, which generates very long error messages, when trying to instantiate a model with data that doesn't match the defined schema.
It appends a full dump of the the data to the message, among other things.
I've seen it generate a 300kB message from a 10kB JSON payload.
When calling Sentry.captureException(error)
, I notice delays around ~90s.
The issue seems to originate from Tracekit, and particularly from a RegExp which is ran on each line of the stacktrace (which includes the message).
I've also opened an issue on Tracekit repo. I opened one here too, because the dependency is duplicated in your repo too.
jeffguorg
Metadata
Metadata
Assignees
Labels
Package: browserIssues related to the Sentry Browser SDKIssues related to the Sentry Browser SDKType: Improvement