From fc30ac0b84e41772149c46ea626cdbea2576c358 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Mon, 1 Apr 2013 16:43:51 -0400 Subject: [PATCH] Pring out error no matter what the error is --- bitmessagemain.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bitmessagemain.py b/bitmessagemain.py index 75b80a0a..2b30ea56 100755 --- a/bitmessagemain.py +++ b/bitmessagemain.py @@ -1245,10 +1245,10 @@ class receiveDataThread(QThread): try: self.sock.send(headerData + payload) except Exception, err: - if not 'Bad file descriptor' in err: - printLock.acquire() - sys.stderr.write('sock.send error: %s\n' % err) - printLock.release() + #if not 'Bad file descriptor' in err: + printLock.acquire() + sys.stderr.write('sock.send error: %s\n' % err) + printLock.release() #We have received a getdata request from our peer def recgetdata(self, data):