electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit b3364b87d1fa08178197f1f8f7ece445bc0c3719
parent 9874afac8b89b53d58189a852d49689e68f9255b
Author: ThomasV <thomasv@gitorious>
Date:   Sat, 21 Feb 2015 14:45:09 +0100

interface: don't show traceback on error 104

Diffstat:
Mlib/interface.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/interface.py b/lib/interface.py @@ -266,8 +266,10 @@ class TcpInterface(threading.Thread): return print_error("wrong certificate", self.host) return - except BaseException: - print_error("wrap_socket failed", self.host) + except BaseException, e: + print_error(self.host, e) + if e.errno == 104: + return traceback.print_exc(file=sys.stderr) return