Skip to content

Commit

Permalink
Added header length in debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
jchabloz committed Oct 12, 2023
1 parent 1a634f6 commit d16e414
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/verisocks/verisocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ def queue_message(self, request):
message = message_pre_header + message_header + content_bytes
self._tx_buffer += message
self._tx_msg_len.append(len(message))
logging.debug(f"Queuing message header: {repr(message_header)}")
logging.debug(f"Queuing message header (length {len(message_header)})\
: {repr(message_header)}")
logging.debug(f"Queuing message content: {repr(content_bytes)}")

def read(self, num_trials=10, timeout=None):
Expand Down

0 comments on commit d16e414

Please sign in to comment.