raises a redis exception

This commit is contained in:
Ilan Steemers
2015-07-03 18:31:04 +02:00
parent 29774b3afe
commit fb44f4f0bf
+1 -1
View File
@@ -21,7 +21,7 @@ def monitor(run_once=False):
except Exception as e:
print(term.red('Can not connect to Redis server.'))
logger.exception(e)
return
raise e
with term.fullscreen(), term.hidden_cursor(), term.cbreak():
val = None
start_width = int(term.width / 8)