Pring out error no matter what the error is
This commit is contained in:
parent
6fcca86fd5
commit
fc30ac0b84
|
@ -1245,10 +1245,10 @@ 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()
|
||||||
|
|
||||||
#We have received a getdata request from our peer
|
#We have received a getdata request from our peer
|
||||||
def recgetdata(self, data):
|
def recgetdata(self, data):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user