去除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

@@ -195,7 +195,7 @@ class DifyPlugin(MessagePluginInterface):
except Exception as e:
self.LOG.exception(f"处理Dify聊天请求出错: {e}")
client_msg_id, create_time, new_msg_id = await bot.send_text_message(
target, f"请求出错:{str(e)}", sender if roomid else "")
target, f"DIFY响应失败", sender if roomid else "")
revoke.add_message_to_revoke(target, client_msg_id, create_time, new_msg_id, 5)
return False, f"处理出错: {e}"