(e)
| 956 | |
| 957 | @app.errorhandler(Exception) |
| 958 | def all_exception_handler(e): |
| 959 | current_app.logger.error(e, exc_info=True) |
| 960 | return internal_server_error(errormsg=str(e)) |
| 961 | |
| 962 | # Exclude HTTPexception from above handler (all_exception_handler) |
| 963 | # HTTPException are user defined exceptions and those should be returned |
nothing calls this directly
no test coverage detected