Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extremely long delays when reporting errors with a long message #2286

Closed
rgehan opened this issue Oct 23, 2019 · 0 comments · Fixed by #6627
Closed

Extremely long delays when reporting errors with a long message #2286

rgehan opened this issue Oct 23, 2019 · 0 comments · Fixed by #6627

Comments

@rgehan
Copy link

rgehan commented Oct 23, 2019

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.

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

Successfully merging a pull request may close this issue.

5 participants