mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-23 21:48:12 +08:00
raises a redis exception
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user