add stacktrace on null node

This commit is contained in:
Craig Raw 2020-10-29 11:24:56 +02:00
parent 9f5eb41d90
commit a7a3ad012c

View file

@ -267,7 +267,7 @@ public class ElectrumServer {
Map<String, String> 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) {