Logging uncaught errors
See original GitHub issueI’m just starting out with sentry and I was trying to see if it logs the uncaught errors. I have this piece of code where I’m first catching an error and sending it with raven then I’m calling an undefined function which I’m not handling. The caught error arrives just fine on Sentry but the other one no. Am I missing something?
try {
baaaaam();
} catch(e) {
Raven.captureException(e)
}
booooom();
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Logging uncaught exceptions in Python - Stack Overflow
When an exception is raised and uncaught, the interpreter calls sys.excepthook with three arguments, the exception class, exception instance, and a traceback ...
Read more >How To Log Uncaught Exceptions In Python? - Better Stack
First, you will create a logger that will take care of your exceptions. Then create a handler handle_unhandled_exception that you ...
Read more >Logging uncaught exceptions in Python applications
Logging uncaught exceptions in Python applications ... This is especially important for any unhandled exceptions that crash the program.
Read more >log uncaught exceptions with sys.excepthook : r/Python - Reddit
This post walks through how to make sure that you log that uncaught exception. This is a trivial script that will raise an...
Read more >PYTHON : Logging uncaught exceptions in Python - YouTube
PYTHON : Logging uncaught exceptions in Python [ Gift : Animated Search Engine : https://www.hows.tech/p/recommended.html ] PYTHON : Logging ...
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
See a similar ticket: https://github.com/getsentry/raven-js/issues/211
Yeah, in the meantime, it can be documented.
Works fine if it originated from a script, but not if its from the console. This IMO could be documented.