You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've noticed that we're missing Bugsnag reports because our stack traces exceed 1E6 bytes. This doesn't appear to be documented, and the only mention of a payload limit is in this issue, which is closed: #245
Hi @bbotto-pdga sorry you've run into this problem. Would you be able to let us see a sample oversize event? Are you confident that it is the stack trace that is taking up the space. Could either paste one here or else email it to [email protected]?
Sorry to misreport the issue. I assumed incorrectly that the stack trace was the culprit, but it turned out to be breadcrumbs. The large breadcrumbs came from an internal Vue console.warning after a crash, and the console warnings included the internal state of our components over and over again, which resulted in a large payload.
In the code I linked in the original issue, the metadata is removed when the payload is too large. Can the same be done for the breadcrumbs? In this case, we were missing crash reports due to these large breadcrumbs. It would be awesome if Bugsnag would let us know if our application crashes in all cases, even if that means dropping the breadcrumbs.
For the time being, we've disabled log breadcrumbs.
Describe the bug
We've noticed that we're missing Bugsnag reports because our stack traces exceed 1E6 bytes. This doesn't appear to be documented, and the only mention of a payload limit is in this issue, which is closed: #245
When our stack traces exceed 1E6 bytes, we're seeing this error trigger: https://github.com/bugsnag/bugsnag-js/blob/v7.17.2/packages/core/lib/json-payload.js#L18 There is no indication that an error occurred in Bugsnag.
10E5 is 47KB short of a megabyte. 47K is quite a bit of data when the limit is so small.
Anyway, is there anything we can do here so that we receive our production error reports? We can't really control the size of the stack traces.
Steps to reproduce
Environment
Example Repo
Example code snippet
Error messages:
The text was updated successfully, but these errors were encountered: