metric #82

Merged
emmatveev merged 17 commits from metric into master 2025-07-17 23:32:44 +03:00
Showing only changes of commit 4f0114e99a - Show all commits

View File

@ -54,7 +54,7 @@ class TasksHandlerMixin:
continue continue
start = datetime.datetime.now(zoneinfo.ZoneInfo("Europe/Moscow")) start = datetime.datetime.now(zoneinfo.ZoneInfo("Europe/Moscow"))
try: try:
print(f'process task with id {task["id"]}') print(f'process task with id {task["id"]}, attempt {task["attempt"]}')
self.process(task['payload']) self.process(task['payload'])
success = True success = True
except Exception as exc: except Exception as exc: