Commit 7843fd76 authored by root's avatar root
Browse files

add error page

parent 33535540
...@@ -52,6 +52,10 @@ def create_app(config_name): ...@@ -52,6 +52,10 @@ def create_app(config_name):
referrer=session['return_url'], cancel_url=vars.default_referrer) referrer=session['return_url'], cancel_url=vars.default_referrer)
@app.route('/error')
def error():
return 'ERROR: '
# misc page error catching # misc page error catching
@app.errorhandler(403) @app.errorhandler(403)
def forbidden(error): def forbidden(error):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment