From d7c26c27e1d63eea1f896654983f43af28e2707c Mon Sep 17 00:00:00 2001 From: catbref Date: Thu, 19 Mar 2020 14:29:47 +0000 Subject: [PATCH] Add debugging message to Peer regarding lost PING replies --- src/main/java/org/qortal/network/Peer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/qortal/network/Peer.java b/src/main/java/org/qortal/network/Peer.java index 7908dd968..b0861b672 100644 --- a/src/main/java/org/qortal/network/Peer.java +++ b/src/main/java/org/qortal/network/Peer.java @@ -489,6 +489,7 @@ public Message getResponse(Message message) throws InterruptedException { final long after = System.currentTimeMillis(); if (message == null || message.getType() != MessageType.PING) { + LOGGER.debug(() -> String.format("Didn't receive reply from %s for PING ID %d", this, pingMessage.getId())); this.disconnect("no ping received"); return; }