diff --git a/src/agent/onefuzz/src/az_copy.rs b/src/agent/onefuzz/src/az_copy.rs index 669bef63c0..6fcd421b00 100644 --- a/src/agent/onefuzz/src/az_copy.rs +++ b/src/agent/onefuzz/src/az_copy.rs @@ -118,9 +118,10 @@ async fn retry_az_impl(mode: Mode, src: &OsStr, dst: &OsStr, args: &[&str]) -> R ..ExponentialBackoff::default() }, operation, - |err, dur| warn!("request attempt failed after {:?}: {:?}", dur, err), + |err, dur| debug!("azcopy attempt failed after {:?}: {:?}", dur, err), ) - .await?; + .await + .with_context(|| format!("azcopy failed after retrying. mode: {}", mode))?; Ok(()) }