From 7c3d354b1343bff19e1e85175168e5b775225057 Mon Sep 17 00:00:00 2001 From: thewisenerd Date: Tue, 5 Nov 2024 05:42:06 +0530 Subject: [PATCH] retry_policy: verbose logging for io errors (#1894) may contain information necessary for triaging the issue. --- sdk/core/src/policies/retry_policies/retry_policy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/core/src/policies/retry_policies/retry_policy.rs b/sdk/core/src/policies/retry_policies/retry_policy.rs index 251885f588..b10f0a7a42 100644 --- a/sdk/core/src/policies/retry_policies/retry_policy.rs +++ b/sdk/core/src/policies/retry_policies/retry_policy.rs @@ -174,7 +174,7 @@ where Err(error) => { if error.kind() == &ErrorKind::Io { debug!( - "io error occurred when making request which will be retried: {}", + "io error occurred when making request which will be retried: {:?}", error ); // IO error so no Retry-After headers - leave the retry period up to the policy