We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed8f92c commit 7f09d30Copy full SHA for 7f09d30
services/storage/src/simcore_service_storage/modules/celery/client.py
@@ -89,6 +89,7 @@ def _get_progress_report(
89
state = self._get_state(task_context, task_uuid)
90
if result and state == TaskState.RUNNING:
91
with contextlib.suppress(ValidationError):
92
+ # avoids exception if result is not a ProgressReport (or overwritten by a Celery's state update)
93
return ProgressReport.model_validate(result)
94
if state in (
95
TaskState.ABORTED,
0 commit comments