tMerge pull request #2917 from SomberNight/get_server - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit c43b48f4f59d3214bbb3fa851d6e039f086adb45 DIR parent 2e06a9d0200d46eda2b235a9f1832ab445623ddf HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 24 Sep 2017 09:40:33 +0200 Merge pull request #2917 from SomberNight/get_server log: identify exception source in log for daemon/get_server Diffstat: M lib/daemon.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/lib/daemon.py b/lib/daemon.py t@@ -87,8 +87,7 @@ def get_server(config): server.ping() return server except Exception as e: - print_error(e) - pass + print_error("[get_server]", e) if not create_time or create_time < time.time() - 1.0: return None # Sleep a bit and try again; it might have just been started