commodity_backingtrack_system/app/interceptors/errorHandler.py

7 lines
97 B
Python

from application import app
@app.errorhandler(404)
def error404(e):
return "404 not found"