加入debug 日志,查看退群消息
This commit is contained in:
1
robot.py
1
robot.py
@@ -231,6 +231,7 @@ class Robot:
|
|||||||
while self.ipad_running:
|
while self.ipad_running:
|
||||||
try:
|
try:
|
||||||
data = await self.ipad_bot.sync_message()
|
data = await self.ipad_bot.sync_message()
|
||||||
|
self.LOG.debug(f"MESSAGE:{data}")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.LOG.error(f"获取新消息失败 {e}")
|
self.LOG.error(f"获取新消息失败 {e}")
|
||||||
if "用户可能退出" in str(e):
|
if "用户可能退出" in str(e):
|
||||||
|
|||||||
Reference in New Issue
Block a user