Commit 2e1b4ac3 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

added app route error page

parent 431f54d5
Pipeline #4269 canceled with stage
......@@ -56,6 +56,11 @@ def create_app(config_name):
def error():
return 'ERROR: '
@app.route('/error_account')
def error_account_create():
return render_template('errors/error.html', title='account creation failed')
# misc page error catching
@app.errorhandler(403)
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