Browse Source

interface: don't show traceback on error 104

283
ThomasV 10 years ago
parent
commit
b3364b87d1
  1. 6
      lib/interface.py

6
lib/interface.py

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

Loading…
Cancel
Save