Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In my experience, the top level exception handler will catch all incl Throwable, and then inspect the exception class and any nested exception classes for things like SQL error or MyPermissionsException etc and return the politically correct error to the end user. And if the exception isn’t in a whitelist of ones we don’t need to log, we log it to our application log.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: