mirror of
https://github.com/astro/buzzrelay.git
synced 2024-11-22 04:00:59 +00:00
send: remove dumping response body on http error
This commit is contained in:
parent
eda7568ffe
commit
0cf7f46f22
1 changed files with 0 additions and 1 deletions
|
@ -60,7 +60,6 @@ pub async fn send_raw(
|
||||||
histogram!("relay_http_response_duration", t3 - t2, "res" => "err", "host" => host);
|
histogram!("relay_http_response_duration", t3 - t2, "res" => "err", "host" => host);
|
||||||
tracing::error!("send_raw {} response HTTP {}", url, res.status());
|
tracing::error!("send_raw {} response HTTP {}", url, res.status());
|
||||||
let response = res.text().await?;
|
let response = res.text().await?;
|
||||||
tracing::error!("send_raw {} response body: {:?}", url, response);
|
|
||||||
Err(Error::Response(response))
|
Err(Error::Response(response))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue