-
Notifications
You must be signed in to change notification settings - Fork 205
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
Non-fatal errors (using Bugsnag.notify) are all grouped together if there's a helper function involved #207
Comments
Thanks for the report @edenman - it would definitely make sense to offer something similar to the There are a couple of ways to achieve the desired behaviour in the SDK currently. The first approach would be to specify a custom grouping hash, e.g. using the log message. The other approach would be to modify the stacktrace in a callback and remove the number of frames required. I think it makes sense to add this functionality into the SDK, as it's a common usecase. Perhaps we could expose something like the following:
|
Custom grouping hash doesn't work for me. The helper method exists to take care of the nitty-gritty details, but still get grouping by stacktrace. It'd be a little weird to have I just realized there's a |
The "manually pruning the stacktrace" approach seems to be working so I'm just gonna do that. Feel free to close this (or leave open if you're planning on doing something more like the |
Respect autoNotify flag on Android
Expected behavior
Non-fatals with a different callsite (even if it's one or two levels up in the stacktrace) should be grouped by callsite.
Observed behavior
Non-fatals with different callsites are all grouped together.
Steps to reproduce
Bugsnag.notify
directlyVersion
bugsnag-android:4.0.0
Additional information
I'm guessing we need something like iOS's
report.depth
to tell bugsnag how to group non-fatals when there's a helper method involved.Example issue:
https://app.bugsnag.com/recharge-labs/android/errors/59dfe2b4855ea5001993998c
The text was updated successfully, but these errors were encountered: