From a92977723eb4dcaf6e5299aef6368a7c1e554058 Mon Sep 17 00:00:00 2001 From: emmatveev Date: Sun, 17 Nov 2024 13:09:02 +0300 Subject: [PATCH] fix --- utils/queues.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/queues.py b/utils/queues.py index df68630..b4b071d 100644 --- a/utils/queues.py +++ b/utils/queues.py @@ -34,8 +34,8 @@ class TasksHandlerMixin: data = response.json() try: self.process(data['payload']) - except: - print(f'Error processing message id={data["id"]}, payload={data["payload"]}') + except Exception as exc: + print(f'Error processing message id={data["id"]}, payload={data["payload"]}, exc={exc}') continue if QUEUES_URL is None: continue