加入debug日志
This commit is contained in:
4
robot.py
4
robot.py
@@ -302,7 +302,7 @@ class Robot(Job):
|
|||||||
try:
|
try:
|
||||||
success = await self.ipad_bot.heartbeat()
|
success = await self.ipad_bot.heartbeat()
|
||||||
if success:
|
if success:
|
||||||
self.LOG.success("心跳进行中")
|
self.LOG.info("心跳进行中")
|
||||||
else:
|
else:
|
||||||
self.LOG.warning("心跳失败")
|
self.LOG.warning("心跳失败")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
@@ -316,7 +316,7 @@ class Robot(Job):
|
|||||||
try:
|
try:
|
||||||
success = await self.ipad_bot.heartbeat_long()
|
success = await self.ipad_bot.heartbeat_long()
|
||||||
if success:
|
if success:
|
||||||
self.LOG.success("长连接心跳进行中")
|
self.LOG.info("长连接心跳进行中")
|
||||||
else:
|
else:
|
||||||
self.LOG.warning("长连接心跳失败")
|
self.LOG.warning("长连接心跳失败")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user