raise an error 500 when such errors are caught Catch error 500 in frontend, and show error detail to user