Make sure error message is shown for 500 errors