consolidated redis ping

This commit is contained in:
Ilan
2015-08-17 14:25:32 +02:00
parent 47a92f8e56
commit ac2dc02b4c
2 changed files with 3 additions and 9 deletions
+1 -3
View File
@@ -278,7 +278,5 @@ def ping_redis(r):
try:
r.ping()
except Exception as e:
term = Terminal()
print(term.red('Can not connect to Redis server.'))
logger.exception(e)
logger.error('Can not connect to Redis server.')
raise e