MCPcopy Index your code
hub / github.com/OWASP/Python-Honeypot / error_500

Function error_500

api/server.py:191–195  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

189
190@app.errorhandler(500)
191def 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

Callers

nothing calls this directly

Calls 1

msg_structureFunction · 0.90

Tested by

no test coverage detected