Hacker News new | ask | show | jobs
by majewsky 1292 days ago
How do you know when it's crossed into being just a little too wrong?
1 comments

You can have a catch all exception handler that emails any exceptions that occur to you.

It's not pretty but it can be done. :P

I think a catch-all top level exception is totally fine and not ugly at all!

That’s why my Python APIs never fatally crash, they just log an exception and move onto the next request.