Skip to content

Commit 0c1a35f

Browse files
jclapisltitanb
andauthored
Update crates/common/src/config/utils.rs
Co-authored-by: ltitanb <163874448+ltitanb@users.noreply.github.com>
1 parent 72941ec commit 0c1a35f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

crates/common/src/config/utils.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ pub async fn safe_read_http_response(response: reqwest::Response) -> Result<Vec<
3737
// Read the response to a buffer in chunks
3838
let status_code = response.status();
3939
let response_bytes = read_chunked_body_with_max(response, MUXER_HTTP_MAX_LENGTH)
40-
.await
41-
.map_err(|e| eyre::Report::new(e));
40+
.await?;
4241

4342
// Make sure the response is a 200
4443
if status_code != reqwest::StatusCode::OK {

0 commit comments

Comments
 (0)