No way to capture exceptions without installing a global error handler
See original GitHub issueRaven.captureException()
won’t work properly when Raven.install()
has not been called beforehand; calling Raven.install()
will install a global error handler (window.onerror
). This is problematic if one wants to catch errors with a custom handler and pass them to Raven by hand, e.g. to lazy-load Raven as needed.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:6
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Global Error Handling in ASP.NET Core Web API - Code Maze
Find out how to replace try-catch blocks in your code with the Global Error Handling by using the custom or built-in middleware in...
Read more >WPF global exception handler [duplicate] - Stack Overflow
You can trap unhandled exceptions at different levels: AppDomain.CurrentDomain.UnhandledException From all threads in the AppDomain. Dispatcher.
Read more >How to Catch All Exceptions in C# & Find All Application Errors
Another option is to use a custom middleware designed to do nothing but catch unhandled exceptions.
Read more >How to Handle Exceptions in JavaScript - Rollbar
Catching all exceptions At its simplest, catching exceptions in JavaScript requires simply wrapping an expression in a try-catch statement. ...
Read more >Global Error Handling in Angular - Philipp Kief
A not always so popular but for the end user enormously important topic is the interception of errors. Even if an application has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
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
This is really important to us as well, +1
Closing this because
Raven.captureException
works without calling.install
today.