Skip to content

Commit

Permalink
more expressive warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kpandl committed Dec 18, 2024
1 parent 88c5c6a commit d6e4f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/sync/src/block_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,12 @@ impl<N: Network> BlockSync<N> {
Ok(_) => match self.canon.advance_to_next_block(&block) {
Ok(_) => true,
Err(err) => {
warn!("{err}");
warn!("Failed to advance to next block ({}): {err}", block.height());
false
}
},
Err(err) => {
warn!("{err}");
warn!("The next block ({}) is invalid - {err}", block.height());
false
}
};
Expand Down

0 comments on commit d6e4f73

Please sign in to comment.