debug 加好友流程
This commit is contained in:
4
robot.py
4
robot.py
@@ -246,7 +246,7 @@ class Robot(Job):
|
||||
|
||||
def onMsg(self, msg: WxMsg) -> int:
|
||||
try:
|
||||
self.LOG.info(msg) # 打印信息
|
||||
self.LOG.debug(msg) # 打印信息
|
||||
self.processMsg(msg)
|
||||
except Exception as e:
|
||||
self.LOG.error(e)
|
||||
@@ -261,7 +261,7 @@ class Robot(Job):
|
||||
while wcf.is_receiving_msg():
|
||||
try:
|
||||
msg = wcf.get_msg()
|
||||
self.LOG.info(msg)
|
||||
self.LOG.debug(msg)
|
||||
self.processMsg(msg)
|
||||
except Empty:
|
||||
continue # Empty message
|
||||
|
||||
Reference in New Issue
Block a user