print more information when sock.recv error occurs

This commit is contained in:
Jonathan Warren 2012-12-27 12:26:06 -05:00
parent f40e77cf86
commit ce6dad329d

View File

@ -244,7 +244,7 @@ class receiveDataThread(QThread):
break break
except Exception, err: except Exception, err:
printLock.acquire() printLock.acquire()
print 'sock.recv error. Closing receiveData thread.' print 'sock.recv error. Closing receiveData thread.', err
printLock.release() printLock.release()
break break
#print 'Received', repr(self.data) #print 'Received', repr(self.data)