api: use debug formatting for reqwest errors to show full cause chain
This commit is contained in:
parent
b28b7def19
commit
f1bee024e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue