Skip to content

Commit 8f5f713

Browse files
committed
if the pipeline does not exist no need to throw a warning. it is ok
1 parent f1d18cf commit 8f5f713

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/web/server/src/simcore_service_webserver/director_v2.py

+3
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ async def get_computation_task(
104104
task_out = ComputationTask.parse_obj(computation_task_out_dict)
105105
return task_out
106106
except _DirectorServiceError as exc:
107+
if exc.status == web.HTTPNotFound.status_code:
108+
# the pipeline might not exist and that is ok
109+
return
107110
log.warning("getting pipeline for project %s failed: %s.", project_id, exc)
108111

109112

0 commit comments

Comments
 (0)