去除dify异常日志

This commit is contained in:
liuwei
2026-01-27 16:23:24 +08:00
parent 7f6fdf165d
commit 4fb06fabe4
2 changed files with 3 additions and 3 deletions

View File

@@ -284,7 +284,7 @@ class MessageSummaryPlugin(MessagePluginInterface):
except aiohttp.ClientError as e:
self.LOG.error(f"请求Dify API时出错: {e}")
return f"生成总结时出错: {str(e)}", None
return f"生成总结时出错", None
except json.JSONDecodeError as e:
self.LOG.error(f"解析Dify API响应时出错: {e}")
@@ -292,7 +292,7 @@ class MessageSummaryPlugin(MessagePluginInterface):
except Exception as e:
self.LOG.error(f"处理总结时出现未知错误: {e}")
return f"生成总结时出现未知错误: {str(e)}", None
return f"生成总结时出现未知错误", None
async def daily_summary_job(self):
"""定时任务每天早上9点总结昨天的聊天信息"""