Compare commits
No commits in common. "2b88479ceca6b446296f75dcef34a9420250336a" and "7238d725dd689088e9af386d84292b2b955b6726" have entirely different histories.
2b88479cec
...
7238d725dd
@ -28,7 +28,7 @@ class TasksHandlerMixin:
|
|||||||
print(f'Error processing message id={data["id"]}, payload={data["payload"]}, exc={exc}')
|
print(f'Error processing message id={data["id"]}, payload={data["payload"]}, exc={exc}')
|
||||||
continue
|
continue
|
||||||
try:
|
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': data['id']}, headers={'X-Queues-Token': token})
|
||||||
if resp.status_code != 202:
|
if resp.status_code != 202:
|
||||||
raise QueuesException
|
raise QueuesException
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user