Skip to content

Commit 4b3fc5c

Browse files
committed
fix: add log for failures
1 parent d442825 commit 4b3fc5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script/src/util.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ impl TendermintRPCClient {
163163
if let Some(err) = first_err {
164164
failures += 1;
165165

166+
log::error!("Got error fetching headers: {}", err);
167+
166168
// Bump the start of the next batch by the number of successful headers in this batch.
167169
next_batch_start += err as u64;
168170

0 commit comments

Comments
 (0)