Feature request: install without instrumenting try catch
See original GitHub issueWhen calling Raven.install
, it breaks my live debugging workflow: in Chrome Developer Tools, when an exception is thrown, the debugger breaks in raven, and the debugger does not allow allow me to go up in the callstack.
I tried to set my own handler in window.onerror
, calling Raven.captureException
, but I lose the breadcrumbs feature.
To get the best of both worlds, I would like an option to allow to call Raven.install
without instrumenting try catch
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Consistent error handling for addon-interactions · Issue #16585
We could detect whether the Interactions addon is installed and only catch if it is. We could introduce a bespoke UI component in...
Read more >Why should I not wrap every block in "try"-"catch"?
It indicates that either exception handling is not well understood or ... Simple, every method was instrumented with try..catch blocked and ...
Read more >Error handling, "try...catch" - The Modern JavaScript Tutorial
First, the code in try {...} is executed. If there were no errors, then catch (err) is ignored: the execution reaches the end...
Read more >PackageManager - Android Developers
Feature for getSystemAvailableFeatures() and hasSystemFeature(String) : The device can perform backup and restore operations on installed applications.
Read more >Use ChatOps to enable and disable feature flags - GitLab Docs
Convert it to an instance, group, or project setting. Revert the changes if it's still disabled and not needed anymore. To remove a...
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
You will have a really bad time if you try to do this.
You won’t – try/catch does a lot more than just “catch errors”. But yes, we can provide that option.
I’d sooner recommend that when you are live debugging, you come up with a way to just disable Raven, e.g. magic global variable or something.
Yes – closing. Thanks for pointing this out.