Skip to content

Commit 19186b8

Browse files
committed
update warning message when retrying toolchain update
1 parent 566ace1 commit 19186b8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/build_queue.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,11 @@ fn retry<T>(mut f: impl FnMut() -> Result<T>) -> Result<T> {
229229
if attempt > MAX_ATTEMPTS {
230230
return Err(err);
231231
} else {
232-
log::warn!("got error {:?} on attempt {}, will try again", err, attempt);
232+
log::warn!(
233+
"got error on attempt {}, will try again:\n{:?}",
234+
attempt,
235+
err
236+
);
233237
}
234238
}
235239
}

0 commit comments

Comments
 (0)