This commit is contained in:
Zeecka
2025-06-15 18:18:28 +02:00
parent e937d4fc11
commit 702fcf434c
+2 -1
View File
@@ -39,7 +39,8 @@ def too_large(_: Any) -> tuple[Response, int]:
@app.errorhandler(404) @app.errorhandler(404)
def not_found(e): def not_found(_: Any) -> str:
"""Error Handler for 404 not found."""
return render_template("error.html", message="Ressource not found", statuscode=404) return render_template("error.html", message="Ressource not found", statuscode=404)