tImprove error message to consider other causes - electrum-personal-server - Maximally lightweight electrum server for a single user HTML git clone https://git.parazyd.org/electrum-personal-server DIR Log DIR Files DIR Refs DIR README --- DIR commit 99999f2d4a49509c2871e88b5a2835bf86badd8c DIR parent 03454caedfee92497de6e9dc23c9e2dfe8a11743 HTML Author: chris-belcher <chris-belcher@users.noreply.github.com> Date: Fri, 19 Apr 2019 20:22:01 +0100 Improve error message to consider other causes The RPC call listunspent may fail for other reasons than Core being compiled with no wallet Diffstat: M electrumpersonalserver/server/comm… | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py t@@ -682,11 +682,11 @@ def main(): time.sleep(5) try: rpc.call("listunspent", []) - except JsonRpcError: - logger.error("Wallet related RPC calls not found, looks like the " + + except JsonRpcError as e: + logger.error(repr(e)) + logger.error("Wallet related RPC call failed, possibly the " + "bitcoin node was compiled with the disable wallet flag") return - if opts.rescan: rescan_script(logger, rpc) return