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
Showing only changes of commit fc30ac0b84 - Show all commits

View File

@ -1245,7 +1245,7 @@ class receiveDataThread(QThread):
try: try:
self.sock.send(headerData + payload) self.sock.send(headerData + payload)
except Exception, err: except Exception, err:
if not 'Bad file descriptor' in err: #if not 'Bad file descriptor' in err:
printLock.acquire() printLock.acquire()
sys.stderr.write('sock.send error: %s\n' % err) sys.stderr.write('sock.send error: %s\n' % err)
printLock.release() printLock.release()