增加日志

This commit is contained in:
2025-10-13 16:11:55 +08:00
parent c025530c25
commit b69805063d
3 changed files with 48 additions and 20 deletions

View File

@@ -42,6 +42,7 @@ class Processor:
try:
instruction = client_pb.decode_instruction(packet_bytes)
log(f"解析指令成功: {instruction}")
except Exception as e:
log(f"错误:解码指令失败: {e}")
return