(error)
| 189 | |
| 190 | @app.errorhandler(500) |
| 191 | def error_500(error): |
| 192 | del error |
| 193 | return jsonify( |
| 194 | msg_structure(status="error", msg="something went wrong!") |
| 195 | ), 500 |
| 196 | |
| 197 | |
| 198 | @app.before_request |
nothing calls this directly
no test coverage detected