queues #15

Merged
emmatveev merged 6 commits from queues into prod 2024-11-17 13:32:24 +03:00
Showing only changes of commit a92977723e - Show all commits

View File

@ -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