From cd7385f38d34b60b05c2c96e0f41b2360d4443bd Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 25 Nov 2024 11:06:19 +0100 Subject: [PATCH] improve error message for log file not found on ee --- backend/windmill-api/src/jobs.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/windmill-api/src/jobs.rs b/backend/windmill-api/src/jobs.rs index 0197870c2e..67e64e8d9a 100644 --- a/backend/windmill-api/src/jobs.rs +++ b/backend/windmill-api/src/jobs.rs @@ -4760,9 +4760,9 @@ async fn get_log_file(Path((_w_id, file_p)): Path<(String, String)>) -> error::R ))); } } else { - return Err(error::Error::InternalErr( - "Object store client not present, cannot stream logs from store".to_string(), - )); + return Err(error::Error::InternalErr(format!( + "Object store client not present and file not found on server logs volume at {local_file}" + ))); } #[cfg(not(all(feature = "enterprise", feature = "parquet")))]