We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a53d69 commit a52ecaeCopy full SHA for a52ecae
Hologram/CustomCloud.py
@@ -302,6 +302,7 @@ def acceptIncomingConnection(self):
302
self._receive_cv.acquire()
303
304
if self.socketClose:
305
+ self.logger.debug('Closing socket connection')
306
self._receive_cv.release()
307
break
308
@@ -325,10 +326,11 @@ def __incoming_connection_thread(self, clientsocket):
325
326
clientsocket.settimeout(RECEIVE_TIMEOUT)
327
328
# Keep parsing the received data until timeout or receive no more data.
- recv = b''
329
+ recv = ''
330
while True:
331
try:
332
result = clientsocket.recv(MAX_RECEIVE_BYTES)
333
+ self.logger.debug('Received message: %s', result)
334
except socket.timeout:
335
336
if not result:
0 commit comments