From f1bee024e8f0eec4ba7230a575167e4128791755 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sat, 21 Mar 2026 12:19:40 -0400 Subject: [PATCH] api: use debug formatting for reqwest errors to show full cause chain --- poc-agent/src/api/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poc-agent/src/api/mod.rs b/poc-agent/src/api/mod.rs index ef56701..db2c3ee 100644 --- a/poc-agent/src/api/mod.rs +++ b/poc-agent/src/api/mod.rs @@ -148,7 +148,7 @@ pub(crate) async fn send_and_check( } else { "unknown" }; - anyhow::anyhow!("{} ({}): {}", cause, url, e.without_url()) + anyhow::anyhow!("{} ({}): {:?}", cause, url, e.without_url()) })?; let status = response.status();