update
This commit is contained in:
parent
2440939fa1
commit
9e9bbe6b6d
1 changed files with 2 additions and 2 deletions
|
|
@ -305,7 +305,7 @@ async def build_chunks(task, progress_callback):
|
|||
try:
|
||||
await asyncio.gather(*tasks, return_exceptions=False)
|
||||
except Exception as e:
|
||||
logging.error("Saving chunk {}/{}/{} got exception".format(task["location"], task["name"], d["id"]))
|
||||
logging.error(f"MINIO PUT({task['name']}) got exception: {e}")
|
||||
for t in tasks:
|
||||
t.cancel()
|
||||
await asyncio.gather(*tasks, return_exceptions=True)
|
||||
|
|
@ -831,7 +831,7 @@ async def insert_es(task_id, task_tenant_id, task_dataset_id, chunks, progress_c
|
|||
try:
|
||||
await asyncio.gather(*tasks, return_exceptions=False)
|
||||
except Exception as e:
|
||||
logging.error(f"do_handle_task delete_image failed since task {task_id} is unknown.")
|
||||
logging.error(f"delete_image failed: {e}")
|
||||
for t in tasks:
|
||||
t.cancel()
|
||||
await asyncio.gather(*tasks, return_exceptions=True)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue