From ad0e4a641c93937343e499e062374cbd5d430cea Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Mon, 2 May 2022 22:11:06 +0300 Subject: [PATCH] raise --- SprintLib/queue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/SprintLib/queue.py b/SprintLib/queue.py index 72c447c..cd9322f 100644 --- a/SprintLib/queue.py +++ b/SprintLib/queue.py @@ -37,6 +37,7 @@ class MessagingSupport(BaseCommand): except OperationalError: print("Failed to connect to database, restarting...") send_to_queue(self.queue_name, data) + raise def handle(self, *args, **options): if self.queue_name is None: