Set handled/unhandled state
See original GitHub issueCurrently there is no easy way to set the handled/unhandled state for an error. This makes the stability score useless to us.
In our JS app we are catching all exceptions, for logging + sending to Bugsnag. While we do “handle” the exception, in the sense that we’re catching it, the user will see an error message.
So, from a stability perspective it wasn’t handled. Thus, we’d like these errors to worsen the Bugsnag stability score. And for that to work we’d like to set the handled/unhandled state via notify
.
See similar issue for ruby: https://github.com/bugsnag/bugsnag-ruby/issues/549
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
c# - Which .config element affects exception handling with ...
I have a Windows Forms application that has this code in the program's start up: Application.SetUnhandledExceptionMode(UnhandledExceptionMode.
Read more >Handle errors in ASP.NET Core | Microsoft Learn
By Tom Dykstra. This article covers common approaches to handling errors in ASP.NET Core web apps. See Handle errors in ASP.
Read more >Handle Lambda service exceptions - AWS Step Functions
As a best practice, proactively handle these exceptions in your state machine to Retry invoking your Lambda function, or to Catch the error....
Read more >Unhandled Exceptions - Avalonia UI
The reason is, that one cannot know if the exception has been handled correctly and therefore the application may be in an invalid...
Read more >Unhandled Exceptions in Blazor Server with Error Boundaries
Let's look at error boundaries in Blazor, a new feature that allows you to handle Blazor Server unhandled exceptions more easily.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @sandstrom,
Nothing new to report on timeframes on this yet. We are still looking to address this across all of our platform specific notifiers which makes this a bigger piece of work to implement. Other priorities have meant this has slipped somewhat. Updates will be added here when we have them.
Awesome! 🎉 Tried it just now, works great!
Would still expect the latest release to be available in NPM, even though all bug fixes therein only pertain to certain platforms.
Somewhat related (since it affects session counting and stability scores, which this is related to):
uBlock seems to be blocking Bugsnag.
Would it be possible for us to send “a user was active and this is the user agent string, ip, etc” request from our backend, for tracking ‘user stability’. That way we wouldn’t be affected by session tracking being blocked? Something you have thought of or discussed internally?
Ideally we’d also pipe error reports through our backend, since those are being blocked too.
Stability score is less useful if ~30% of users aren’t included (due to ad blockers).
Opened an issue about it: https://github.com/bugsnag/bugsnag-js/issues/1228