diff --git a/solvable/src/webservice/server.py b/solvable/src/webservice/server.py index 6f4aab7..afeb601 100644 --- a/solvable/src/webservice/server.py +++ b/solvable/src/webservice/server.py @@ -94,7 +94,7 @@ def logout(): @app.errorhandler(404) @app.route('/error') def error(err): # pylint: disable=unused-argument - return render_template('error.html', error=error), error.code + return render_template('error.html', error=err), err.code # 500 needs a separate handler, as Flask would print