Skip to content

Commit 846cd98

Browse files
Add a warn in case the retryable function fails notifying the error
1 parent 9c9a50a commit 846cd98

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • aggregation_mode/proof_aggregator/src/backend

aggregation_mode/proof_aggregator/src/backend/retry.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ where
5454
return Err(RetryError::Transient(e));
5555
}
5656

57+
tracing::warn!("Retryable function failed: {e}");
58+
5759
tokio::time::sleep(delay).await;
5860

5961
delay = next_backoff_delay(delay, max_delay_seconds, factor);

0 commit comments

Comments
 (0)