From ee00964a06fd2ef2a7596be3d01a59bf9fd9ec0a Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 1 Oct 2025 09:57:24 +0000 Subject: [PATCH] nit --- backend/windmill-worker/src/python_executor.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index c2534e9cf3..d4acf709c2 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -1965,11 +1965,12 @@ pub async fn handle_python_reqs( (stderr_future.await, stdout_future.await, Box::into_pin(uv_install_proccess.wait()).await) } => match exitstatus { Ok(status) => if !status.success() { + let code = status.code(); tracing::warn!( workspace_id = %w_id, "uv install {} did not succeed, exit status: {:?}", &req, - status.code() + code ); append_logs( @@ -1977,7 +1978,8 @@ pub async fn handle_python_reqs( w_id, format!( "\nError while installing {}: \nStderr:\n{stderr_buf}\nStdout:\n{stdout_buf}\nExit status: {:?}", - &req + &req, + code ), &conn, )