Compare commits
No commits in common. "23d6dedb01ca7f7c56fb0a6ffc97ca5c8a11c9ae" and "2de0fc5d782bbfc2a30446b1021c1e65bda23a4f" have entirely different histories.
23d6dedb01
...
2de0fc5d78
@ -66,7 +66,6 @@ class TasksHandlerMixin:
|
||||
resp = requests.post(f'{QUEUES_URL}/api/v1/finish', json={'id': task['id']})
|
||||
if resp.status_code != 202:
|
||||
raise QueuesException
|
||||
print(f'finish task with id {task["id"]}')
|
||||
except:
|
||||
print(f'Failed to finish task id={task["id"]}')
|
||||
self.executor.submit(self._send_metric, start, end, success)
|
||||
|
Loading…
Reference in New Issue
Block a user