Improve retry trace message (#11108)

This commit is contained in:
Zanie Blue 2025-01-30 12:53:33 -06:00 committed by GitHub
parent 70507b7898
commit d514743b1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -456,7 +456,7 @@ impl RetryableStrategy for UvRetryableStrategy {
///
/// These cases should be safe to retry with [`Retryable::Transient`].
pub fn is_extended_transient_error(err: &dyn Error) -> bool {
trace!("Attempting to retry error: {err:?}");
trace!("Considering retry of error: {err:?}");
if let Some(io) = find_source::<std::io::Error>(&err) {
if io.kind() == std::io::ErrorKind::ConnectionReset