加入日志

This commit is contained in:
liuwei
2025-05-27 09:17:36 +08:00
parent 9f2907ffde
commit 41211d75c5

View File

@@ -67,7 +67,6 @@ def main():
except Exception as e:
robot.LOG.error(f"Dashboard服务器启动失败: {e}")
asyncio.run(async_job.run_all())
try:
robot.LOG.debug(f"开始启动GlancesMonitor")
# 初始化 Glances 监控
@@ -86,6 +85,7 @@ def main():
except Exception as e:
robot.LOG.error(f"GlancesMonitor服务器启动失败: {e}")
asyncio.run(async_job.run_all())
# 让机器人一直跑
robot.keep_running_and_block_process()