mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-03-21 17:54:09 -05:00
Added error for 404
This commit is contained in:
parent
ecf8ed5daf
commit
59d0410895
|
|
@ -44,7 +44,8 @@ def debug_404(e):
|
|||
f"<Endpoint: {response_endpoint}>"
|
||||
f"<Methode: {sanitize_input(request.method)}>"
|
||||
f"<JSON: {response_json}>"
|
||||
f"<IP: {user_ip}>")
|
||||
f"<IP: {user_ip}>"
|
||||
f"<Error: {e}>")
|
||||
|
||||
return jsonify({"message": "Endpoint not found"}), 404
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user