return HTTPInternalServerError instead of raising exception on 500 error #89