Skip to content

Commit

Permalink
[LOGGING] Add logging for fail to confirm pivot block error (#7110)
Browse files Browse the repository at this point in the history
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
  • Loading branch information
macfarla committed May 17, 2024
1 parent bdec4b9 commit 433ebd9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ private CompletableFuture<Optional<EthPeer>> confirmPivotBlockHeader(final EthPe
})
.exceptionally(
error -> {
LOG.debug("Could not confirm best peer had pivot block", error);
LOG.debug(
"Could not confirm best peer {} had pivot block {}",
bestPeer.getLoggableId(),
pivotBlockHeader.getNumber(),
error);
return Optional.empty();
});
}
Expand Down

0 comments on commit 433ebd9

Please sign in to comment.