Print out error no matter what the error is #99

Merged
Atheros1 merged 1 commits from master into master 2013-04-01 22:44:35 +02:00

View File

@ -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):