chore(debug): add hex dump logging for received rpc messages

This commit is contained in:
Changhua 2025-02-12 01:15:05 +08:00
parent cdd9fe9a91
commit 61c6ad643f

View File

@ -156,7 +156,9 @@ class Wcf():
data = req.SerializeToString()
self.cmd_socket.send(data)
rsp = wcf_pb2.Response()
rsp.ParseFromString(self.cmd_socket.recv_msg().bytes)
bs = self.cmd_socket.recv_msg().bytes
self.LOG.debug(bs.hex())
rsp.ParseFromString(bs)
return rsp
def is_receiving_msg(self) -> bool: