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
1 changed files with 1 additions and 1 deletions

View File

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