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

Events with a large stack trace are silently ignored #294

Closed
braddunbar opened this issue May 6, 2016 · 3 comments
Closed

Events with a large stack trace are silently ignored #294

braddunbar opened this issue May 6, 2016 · 3 comments

Comments

@braddunbar
Copy link

Using version 4.0.2, events with a large enough stack trace will be silently ignored by bugsnag-ruby. In particular, Bugsnag::Helpers.trim_if_needed will remove the entire event rather than truncating its contents.

The ignored events I've seen contained three exceptions with approximately 200 items in the stacktrace field.

@kattrali
Copy link
Contributor

Thank you for the report, @braddunbar. I dig some investigating to determine the best way we can selectively drop parts of the payload and not have requests rejected due to size. The results are in #295.

If you have the time, can you send a copy of an example stack trace with 200 or so lines to support@bugsnag.com? I'd like to gather data and determine if there are heuristics we can apply to which lines of a stacktrace are dropped on the client side in cases like this. In the meantime, it will perform a truncation of the end of the stack trace array.

@kattrali
Copy link
Contributor

Resolved with the release of 4.1.0.

@braddunbar
Copy link
Author

Sure thing! I've just sent the stacktrace to the email above. Let me know if you need anything else and thanks for the quick turnaround! 👍🏻

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

No branches or pull requests

2 participants