diff --git a/backend/windmill-worker/src/worker.rs b/backend/windmill-worker/src/worker.rs index 235cf9472b..ede454281d 100644 --- a/backend/windmill-worker/src/worker.rs +++ b/backend/windmill-worker/src/worker.rs @@ -399,9 +399,10 @@ impl AuthedClient { ) .send() .await - .context(format!( - "Executing request from authed http client to {url} with query {query:?}", - )) + .map_err(|e| { + tracing::error!("Error executing get request from authed http client to {url} with query {query:?}: {e}"); + anyhow::anyhow!("Error executing get request from authed http client to {url} with query {query:?}: {e}") + }) } pub async fn get_id_token(&self, audience: &str) -> anyhow::Result {