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:
|
def onMsg(self, msg: WxMsg) -> int:
|
||||||
try:
|
try:
|
||||||
self.LOG.info(msg) # 打印信息
|
self.LOG.debug(msg) # 打印信息
|
||||||
self.processMsg(msg)
|
self.processMsg(msg)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.LOG.error(e)
|
self.LOG.error(e)
|
||||||
@@ -261,7 +261,7 @@ class Robot(Job):
|
|||||||
while wcf.is_receiving_msg():
|
while wcf.is_receiving_msg():
|
||||||
try:
|
try:
|
||||||
msg = wcf.get_msg()
|
msg = wcf.get_msg()
|
||||||
self.LOG.info(msg)
|
self.LOG.debug(msg)
|
||||||
self.processMsg(msg)
|
self.processMsg(msg)
|
||||||
except Empty:
|
except Empty:
|
||||||
continue # Empty message
|
continue # Empty message
|
||||||
|
|||||||
Reference in New Issue
Block a user