commit 4c626b5d9412760d80d7758833d56648b146c909 parent 500e497b96e9b681157ad8ecb9f4ad980603e3f3 Author: chris-belcher <chris-belcher@users.noreply.github.com> Date: Thu, 27 Jun 2019 10:52:33 +0100 Made common error message less scary A question about the error message was raised in issue #127 Diffstat:
M | electrumpersonalserver/server/jsonrpc.py | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/electrumpersonalserver/server/jsonrpc.py b/electrumpersonalserver/server/jsonrpc.py @@ -60,7 +60,8 @@ class JsonRpc(object): except http.client.BadStatusLine: return "CONNFAILURE" except OSError as e: - self.logger.debug('Reconnecting RPC after error: ' + repr(e)) + self.logger.debug('Reconnecting RPC after dropped ' + + 'connection: ' + repr(e)) self.conn.close() self.conn.connect() continue