From 8bec17a82332941b83468de3fcd8f2e9ea2c5db8 Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Tue, 9 Jan 2018 13:54:47 +0100 Subject: [PATCH] Move persisted data to resource dir. Improve logging --- .../p2p/peers/getdata/GetDataRequestHandler.java | 2 +- .../PersistableNetworkPayloadMap_BTC_MAINNET | Bin 2 files changed, 1 insertion(+), 1 deletion(-) rename network/src/main/{ => resources}/PersistableNetworkPayloadMap_BTC_MAINNET (100%) diff --git a/network/src/main/java/io/bisq/network/p2p/peers/getdata/GetDataRequestHandler.java b/network/src/main/java/io/bisq/network/p2p/peers/getdata/GetDataRequestHandler.java index 33a7f543b2..750efbf2ea 100644 --- a/network/src/main/java/io/bisq/network/p2p/peers/getdata/GetDataRequestHandler.java +++ b/network/src/main/java/io/bisq/network/p2p/peers/getdata/GetDataRequestHandler.java @@ -80,7 +80,7 @@ public class GetDataRequestHandler { if (timeoutTimer == null) { timeoutTimer = UserThread.runAfter(() -> { // setup before sending to avoid race conditions - String errorMessage = "A timeout occurred for getDataResponse:" + getDataResponse + + String errorMessage = "A timeout occurred for getDataResponse " + " on connection:" + connection; handleFault(errorMessage, CloseConnectionReason.SEND_MSG_TIMEOUT, connection); }, diff --git a/network/src/main/PersistableNetworkPayloadMap_BTC_MAINNET b/network/src/main/resources/PersistableNetworkPayloadMap_BTC_MAINNET similarity index 100% rename from network/src/main/PersistableNetworkPayloadMap_BTC_MAINNET rename to network/src/main/resources/PersistableNetworkPayloadMap_BTC_MAINNET