Skip to content

Commit 928e65f

Browse files
authored
[SVLS-7934] Log error details when trace request fails (#1392)
Log real error Simplify code Co-authored-by: yiming.luo <[email protected]>
1 parent c9ff30b commit 928e65f

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ pub async fn send_with_retry<C: Connect>(
195195
}
196196
Err(e) => {
197197
debug!(
198-
error = %e,
198+
error = ?e,
199199
attempt = request_attempt,
200200
max_retries = retry_strategy.max_retries(),
201201
"Request failed with error"

0 commit comments

Comments
 (0)