Skip to content

Commit 9431684

Browse files
author
Ludo Galabru
committed
fix: re-qualify error to warn
1 parent a8d76b0 commit 9431684

File tree

1 file changed

+3
-3
lines changed
  • components/chainhook-event-observer/src/indexer/bitcoin

1 file changed

+3
-3
lines changed

components/chainhook-event-observer/src/indexer/bitcoin/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub async fn download_and_parse_block_with_retry(
156156
Err(e) => {
157157
errors_count += 1;
158158
ctx.try_log(|logger| {
159-
slog::error!(
159+
slog::warn!(
160160
logger,
161161
"unable to retrieve block #{block_hash} (attempt #{errors_count}): {}",
162162
e.to_string()
@@ -182,7 +182,7 @@ pub async fn download_block_with_retry(
182182
Err(e) => {
183183
errors_count += 1;
184184
ctx.try_log(|logger| {
185-
slog::error!(
185+
slog::warn!(
186186
logger,
187187
"unable to retrieve block #{block_hash} (attempt #{errors_count}): {}",
188188
e.to_string()
@@ -199,7 +199,7 @@ pub async fn download_block_with_retry(
199199
Err(e) => {
200200
errors_count += 1;
201201
ctx.try_log(|logger| {
202-
slog::error!(
202+
slog::warn!(
203203
logger,
204204
"unable to retrieve block #{block_hash} (attempt #{errors_count}): {}",
205205
e.to_string()

0 commit comments

Comments
 (0)