Skip to content

Commit 7f09d30

Browse files
add comment
1 parent ed8f92c commit 7f09d30

File tree

1 file changed

+1
-0
lines changed
  • services/storage/src/simcore_service_storage/modules/celery

1 file changed

+1
-0
lines changed

services/storage/src/simcore_service_storage/modules/celery/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def _get_progress_report(
8989
state = self._get_state(task_context, task_uuid)
9090
if result and state == TaskState.RUNNING:
9191
with contextlib.suppress(ValidationError):
92+
# avoids exception if result is not a ProgressReport (or overwritten by a Celery's state update)
9293
return ProgressReport.model_validate(result)
9394
if state in (
9495
TaskState.ABORTED,

0 commit comments

Comments
 (0)