Override Flask-RESTful error routing logic for 500 errors