From a7a3ad012c70b22207a0dd560fa6c62da53c7d4f Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 29 Oct 2020 11:24:56 +0200 Subject: [PATCH] add stacktrace on null node --- src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java b/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java index 1929255a..d08451e4 100644 --- a/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java +++ b/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java @@ -267,7 +267,7 @@ public class ElectrumServer { Map pathScriptHashes = new LinkedHashMap<>(); for(WalletNode node : nodes) { if(node == null) { - log.error("Null node for wallet " + wallet.getName() + " subscribing nodes " + nodes + " startIndex " + startIndex); + log.error("Null node for wallet " + wallet.getName() + " subscribing nodes " + nodes + " startIndex " + startIndex, new Throwable()); } if(node != null && node.getIndex() >= startIndex) {