Skip to content

Commit 18f5e0b

Browse files
committed
wip
1 parent 5ce6f4a commit 18f5e0b

File tree

1 file changed

+6
-2
lines changed
  • rust/cardano-chain-follower/src/turbo_downloader

1 file changed

+6
-2
lines changed

rust/cardano-chain-follower/src/turbo_downloader/mod.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,12 @@ impl ParallelDownloadProcessorInner {
365365
anyhow::ensure!(
366366
(get_range_response.status() == StatusCode::PARTIAL_CONTENT)
367367
|| (get_range_response.status() == StatusCode::OK),
368-
"Response to range request has an unexpected status code (expected {:?}, found {})",
369-
[StatusCode::PARTIAL_CONTENT, StatusCode::OK],
368+
"Response to range request has an unexpected status code (expected [{}], found {})",
369+
[
370+
StatusCode::PARTIAL_CONTENT.to_string(),
371+
StatusCode::OK.to_string()
372+
]
373+
.join(","),
370374
get_range_response.status()
371375
);
372376

0 commit comments

Comments
 (0)