Question: How to handle status code 500 when the application is in production. This seemingly is very annoying error when the Application is deployed in production and a 500 Server Error happens, the User sees a White Screen of Death. How to solve this problem? I need to handle Response code 500 so the application can route to an error page. This does not seem to be the case, only Status Code 404 and others seem to be handled by the appliction.
Do you know someone who can answer this question?