From fb44f4f0bf418705414d3f9593db849bd73a83c7 Mon Sep 17 00:00:00 2001 From: Ilan Steemers Date: Fri, 3 Jul 2015 18:31:04 +0200 Subject: [PATCH] raises a redis exception --- django_q/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_q/monitor.py b/django_q/monitor.py index b26c024..d848dc7 100644 --- a/django_q/monitor.py +++ b/django_q/monitor.py @@ -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)