We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce6f4a commit 18f5e0bCopy full SHA for 18f5e0b
rust/cardano-chain-follower/src/turbo_downloader/mod.rs
@@ -365,8 +365,12 @@ impl ParallelDownloadProcessorInner {
365
anyhow::ensure!(
366
(get_range_response.status() == StatusCode::PARTIAL_CONTENT)
367
|| (get_range_response.status() == StatusCode::OK),
368
- "Response to range request has an unexpected status code (expected {:?}, found {})",
369
- [StatusCode::PARTIAL_CONTENT, StatusCode::OK],
+ "Response to range request has an unexpected status code (expected [{}], found {})",
+ [
370
+ StatusCode::PARTIAL_CONTENT.to_string(),
371
+ StatusCode::OK.to_string()
372
+ ]
373
+ .join(","),
374
get_range_response.status()
375
);
376
0 commit comments