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

@@ -86,8 +86,8 @@ def get_vault():
flask.current_app.stackalytics_vault = vault
except Exception as e:
LOG.critical('Failed to initialize application: %s', e)
LOG.exception(e)
LOG.critical('Failed to initialize application: %s', e,
exc_info=True)
flask.abort(500)
if not getattr(flask.request, 'stackalytics_updated', None):