Logging cleanup

Change-Id: Iebd3928ed0b483770d1c47b66e26eb8be249d720
This commit is contained in:
Ilya Shakhat
2016-07-06 10:52:13 +03:00
parent f7b268fd4c
commit 70c707ad62
5 changed files with 24 additions and 29 deletions

View File

@@ -393,7 +393,7 @@ def exception_handler():
except Exception as e:
if isinstance(e, exceptions.HTTPException):
raise # ignore Flask exceptions
LOG.exception(e)
LOG.error(e, exc_info=True)
flask.abort(404)
return exception_handler_decorated_function