send: remove dumping response body on http error

This commit is contained in:
Astro 2023-06-23 18:49:28 +02:00
parent eda7568ffe
commit 0cf7f46f22

View file

@ -60,7 +60,6 @@ pub async fn send_raw(
histogram!("relay_http_response_duration", t3 - t2, "res" => "err", "host" => host);
tracing::error!("send_raw {} response HTTP {}", url, res.status());
let response = res.text().await?;
tracing::error!("send_raw {} response body: {:?}", url, response);
Err(Error::Response(response))
}
}