Do not raise exception in offload_task
This commit is contained in:
parent
3a34b54ac2
commit
9f9a9a5240
|
|
@ -326,7 +326,7 @@ def offload_task(
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
log_error('offload_task', scope='worker')
|
log_error('offload_task', scope='worker')
|
||||||
raise_warning(f"WARNING: '{taskname}' failed due to {exc!s}")
|
raise_warning(f"WARNING: '{taskname}' failed due to {exc!s}")
|
||||||
raise exc
|
return False
|
||||||
|
|
||||||
# Finally, task either completed successfully or was offloaded
|
# Finally, task either completed successfully or was offloaded
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue