Improve log

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2023-01-04 18:14:06 -05:00 committed by Alejandro García
parent 37241a0d08
commit 7c1c35f6e1
No known key found for this signature in database
GPG key ID: F806F422E222AA02

View file

@ -280,8 +280,7 @@ public class BroadcastHandler implements PeerManager.Listener {
@Override @Override
public void onFailure(@NotNull Throwable throwable) { public void onFailure(@NotNull Throwable throwable) {
log.warn("Broadcast to {} failed. ErrorMessage={}", connection.getPeersNodeAddressOptional(), log.warn("Broadcast to " + connection.getPeersNodeAddressOptional() + " failed. ", throwable);
throwable.getMessage());
numOfFailedBroadcasts.incrementAndGet(); numOfFailedBroadcasts.incrementAndGet();
if (stopped.get()) { if (stopped.get()) {