mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-06-13 16:19:01 +08:00
fix: re-qualify error to warn
This commit is contained in:
@@ -156,7 +156,7 @@ pub async fn download_and_parse_block_with_retry(
|
||||
Err(e) => {
|
||||
errors_count += 1;
|
||||
ctx.try_log(|logger| {
|
||||
slog::error!(
|
||||
slog::warn!(
|
||||
logger,
|
||||
"unable to retrieve block #{block_hash} (attempt #{errors_count}): {}",
|
||||
e.to_string()
|
||||
@@ -182,7 +182,7 @@ pub async fn download_block_with_retry(
|
||||
Err(e) => {
|
||||
errors_count += 1;
|
||||
ctx.try_log(|logger| {
|
||||
slog::error!(
|
||||
slog::warn!(
|
||||
logger,
|
||||
"unable to retrieve block #{block_hash} (attempt #{errors_count}): {}",
|
||||
e.to_string()
|
||||
@@ -199,7 +199,7 @@ pub async fn download_block_with_retry(
|
||||
Err(e) => {
|
||||
errors_count += 1;
|
||||
ctx.try_log(|logger| {
|
||||
slog::error!(
|
||||
slog::warn!(
|
||||
logger,
|
||||
"unable to retrieve block #{block_hash} (attempt #{errors_count}): {}",
|
||||
e.to_string()
|
||||
|
||||
Reference in New Issue
Block a user