Merge pull request 'fix' (#27) from master into dev
Reviewed-on: https://gitea.sprinthub.ru/self/pizda-bot/pulls/27
This commit was merged in pull request #27.
This commit is contained in:
@@ -29,7 +29,7 @@ class TasksHandlerMixin:
|
||||
print(f'Error processing message id={task["id"]}, payload={task["payload"]}, exc={exc}')
|
||||
continue
|
||||
try:
|
||||
resp = requests.post(f'{QUEUES_URL}/api/v1/finish', json={'id': data['id']})
|
||||
resp = requests.post(f'{QUEUES_URL}/api/v1/finish', json={'id': task['id']})
|
||||
if resp.status_code != 202:
|
||||
raise QueuesException
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user