Skip to content

Commit 63324d6

Browse files
committed
Simplify code
1 parent ace183c commit 63324d6

File tree

1 file changed

+2
-1
lines changed
  • libdd-trace-utils/src/send_with_retry

1 file changed

+2
-1
lines changed

libdd-trace-utils/src/send_with_retry/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,10 @@ pub async fn send_with_retry<C: Connect>(
195195
}
196196
Err(e) => {
197197
debug!(
198+
error = ?e,
198199
attempt = request_attempt,
199200
max_retries = retry_strategy.max_retries(),
200-
"Request failed with error: {e:?}."
201+
"Request failed with error"
201202
);
202203

203204
if request_attempt < retry_strategy.max_retries() {

0 commit comments

Comments
 (0)