优化日志

This commit is contained in:
Windpicker-owo
2025-11-26 21:16:16 +08:00
parent e0157256b1
commit 0908fb50a0
100 changed files with 493 additions and 574 deletions

View File

@@ -1422,7 +1422,7 @@ class MemoryConsolidationScheduler:
await asyncio.sleep(self.interval.total_seconds())
except Exception as e:
logger.error(f"记忆整理任务失败: {e}", exc_info=True)
logger.error(f"记忆整理任务失败: {e}")
# 失败后等待10分钟再重试
await asyncio.sleep(600)

View File

@@ -368,7 +368,7 @@ class MyPlugin(PluginBase):
# 任务逻辑
pass
except Exception as e:
self.logger.error(f"任务执行失败: {e}", exc_info=True)
self.logger.error(f"任务执行失败: {e}")
```
5. **性能考虑**: