Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

set azcopy retry notice to debug rather than warn #986

Merged
merged 4 commits into from
Jun 14, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/agent/onefuzz/src/az_copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| warn!("azcopy attempt failed after {:?}: {:?}", dur, err),
)
.await?;
.await
.with_context(|| format!("azcopy failed after retrying. mode: {}", mode))?;

Ok(())
}
Expand Down