Now provides a 500 response when a server error occurs