From bd5711725e8cf79613fea8bf4be0c9a64db39b07 Mon Sep 17 00:00:00 2001 From: josiah Date: Thu, 29 Apr 2021 18:26:42 -0500 Subject: [PATCH] Address last pylint error. --- warren/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/warren/app.py b/warren/app.py index 9664fa4..2eb8eba 100644 --- a/warren/app.py +++ b/warren/app.py @@ -77,7 +77,7 @@ def write_to_db(data, dbpath): @app.errorhandler(Exception) def server_error(err): """catch all exception handler""" - app.logger.exception(err) + logging.exception(err) return "exception", 400