Merge pull request #1845 from xinnan-tech/manager-api-mcp

优化mcp错误提示
This commit is contained in:
欣南科技
2025-07-15 18:36:45 +08:00
committed by GitHub
@@ -178,7 +178,7 @@ public class AgentMcpAccessPointServiceImpl implements AgentMcpAccessPointServic
}
} catch (Exception e) {
log.error("获取智能体 MCP 工具列表失败,智能体ID: {}", id, e);
log.error("获取智能体 MCP 工具列表失败,智能体ID: {},错误原因:{}", id, e.getMessage());
return List.of();
}
}