mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Show error message on segment download retry
This commit is contained in:
parent
d0681c7f6c
commit
7115c5546d
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ pub async fn download_segments(
|
||||||
if retry_count == 5 {
|
if retry_count == 5 {
|
||||||
panic!("Max retry count reached ({}), multiple errors occured while receiving segment {}: {}", retry_count, num + (i * cpus), e)
|
panic!("Max retry count reached ({}), multiple errors occured while receiving segment {}: {}", retry_count, num + (i * cpus), e)
|
||||||
}
|
}
|
||||||
debug!("Failed to download segment {}. Retrying ({} out of 5 retries left)", num + (i * cpus), 5 - retry_count)
|
debug!("Failed to download segment {} ({}). Retrying, {} out of 5 retries left", num + (i * cpus), e, 5 - retry_count)
|
||||||
} else {
|
} else {
|
||||||
panic!("{}", e)
|
panic!("{}", e)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue