Do not raise exception in offload_task

This commit is contained in:
Oliver Walters 2026-05-30 05:54:11 +00:00
parent 3a34b54ac2
commit 9f9a9a5240
1 changed files with 1 additions and 1 deletions

View File

@ -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