Added 500 status code to unhandled errors