DEV Community

Discussion on: Catching every single exception with Python

Collapse
 
nikoheikkila profile image
Niko Heikkilä

This is cool! I think many frameworks use this or similar method to log uncaught exceptions to file, post them to error tracker like Sentry, and so on.

It's often a good choice to let the app crash but capture the information. Service managers like systemd will reboot the app back to life, anyway.