What is the best way to handle exceptions occurring in catch statements. Currently we are writing the exception message to response object\'s write method. But I want a solution
I'd record the detailed error to my database and redirect the user to a generic error page.