Skip to content

Commit b129044

Browse files
fix
1 parent b765962 commit b129044

File tree

1 file changed

+5
-0
lines changed
  • services/director-v2/src/simcore_service_director_v2/api/routes

1 file changed

+5
-0
lines changed

services/director-v2/src/simcore_service_director_v2/api/routes/computations.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ async def _try_start_pipeline(
224224
wallet_id = computation.wallet_info.wallet_id
225225
wallet_name = computation.wallet_info.wallet_name
226226

227+
if computation.collection_run_id is None:
228+
raise HTTPException(
229+
status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
230+
detail=f"Project {computation.project_id} has no collection run ID",
231+
)
227232
await run_new_pipeline(
228233
app,
229234
user_id=computation.user_id,

0 commit comments

Comments
 (0)