formatting

This commit is contained in:
dandds 2018-10-15 10:30:54 -04:00
parent e514aa9a94
commit 9fcb016f86

View File

@ -21,6 +21,9 @@ def make_error_pages(app):
# pylint: disable=unused-variable
def exception(e):
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