print more information when sock.recv error occurs
This commit is contained in:
parent
f40e77cf86
commit
ce6dad329d
|
@ -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)
|
||||||
|
|
Reference in New Issue
Block a user