formatting
This commit is contained in:
@@ -21,6 +21,9 @@ def make_error_pages(app):
|
|||||||
# pylint: disable=unused-variable
|
# pylint: disable=unused-variable
|
||||||
def exception(e):
|
def exception(e):
|
||||||
app.logger.error(e.message)
|
app.logger.error(e.message)
|
||||||
return render_template("error.html", message="An Unexpected Error Occurred"), 500
|
return (
|
||||||
|
render_template("error.html", message="An Unexpected Error Occurred"),
|
||||||
|
500,
|
||||||
|
)
|
||||||
|
|
||||||
return app
|
return app
|
||||||
|
Reference in New Issue
Block a user