Merge pull request #20 from Atheros1/master
print more information when sock.recv error occurs
This commit is contained in:
commit
89734e280e
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user