Skip to content

Commit ace183c

Browse files
committed
Log real error
1 parent 67d88eb commit ace183c

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

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

204203
if request_attempt < retry_strategy.max_retries() {

0 commit comments

Comments
 (0)