Merge pull request 'fix' (#12) from queues into dev

Reviewed-on: #12
This commit is contained in:
emmatveev 2024-11-17 13:09:31 +03:00
commit 5042df4874

View File

@ -34,8 +34,8 @@ class TasksHandlerMixin:
data = response.json() data = response.json()
try: try:
self.process(data['payload']) self.process(data['payload'])
except: except Exception as exc:
print(f'Error processing message id={data["id"]}, payload={data["payload"]}') print(f'Error processing message id={data["id"]}, payload={data["payload"]}, exc={exc}')
continue continue
if QUEUES_URL is None: if QUEUES_URL is None:
continue continue