diff --git a/backend/windmill-worker/src/bun_executor.rs b/backend/windmill-worker/src/bun_executor.rs index 5d458aded1..8d7b4fa309 100644 --- a/backend/windmill-worker/src/bun_executor.rs +++ b/backend/windmill-worker/src/bun_executor.rs @@ -180,8 +180,7 @@ pub async fn handle_bun_job( let splitted = reqs.split(BUN_LOCKB_SPLIT).collect::>(); if splitted.len() != 2 { return Err(error::Error::ExecutionErr( - "Invalid requirements, expectd to find //bun.lockb split pattern in reqs" - .to_string(), + format!("Invalid requirements, expectd to find //bun.lockb split pattern in reqs. Found: |{reqs}|") )); } let _ = write_file(job_dir, "package.json", &splitted[0]).await?;