api: use debug formatting for reqwest errors to show full cause chain

This commit is contained in:
Kent Overstreet 2026-03-21 12:19:40 -04:00
parent b28b7def19
commit f1bee024e8

View file

@ -148,7 +148,7 @@ pub(crate) async fn send_and_check(
} else { } else {
"unknown" "unknown"
}; };
anyhow::anyhow!("{} ({}): {}", cause, url, e.without_url()) anyhow::anyhow!("{} ({}): {:?}", cause, url, e.without_url())
})?; })?;
let status = response.status(); let status = response.status();