2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-30 21:25:36 +00:00

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 -1
View File
@@ -326,7 +326,7 @@ def offload_task(
except Exception as exc:
log_error('offload_task', scope='worker')
raise_warning(f"WARNING: '{taskname}' failed due to {exc!s}")
raise exc
return False
# Finally, task either completed successfully or was offloaded
return True