Skip to content

Commit

Permalink
include github library and log db health errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rmb938 committed Feb 1, 2018
1 parent 59a25eb commit 454cd32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions deli/counter/auth/drivers/database/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@ def health(self):
session.execute("SELECT 1")
health['healthy'] = True
health['valid_session'] = True
except Exception:
self.logger.exception("Error getting auth driver health")
finally:
return health
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ sqlalchemy==1.1.14 # MIT
sqlalchemy-utils==0.32.16 # BSD-3-Clause
alembic==0.9.5 # MIT
passlib==1.7.1 # BSD-3-Clause
bcrypt==3.1.4 # Apache 2.0
bcrypt==3.1.4 # Apache 2.0
pygithub==1.35 # LGPL

0 comments on commit 454cd32

Please sign in to comment.