Skip to content

Commit 2ff0f54

Browse files
authored
Merge branch 'main' into main
2 parents cb3b76f + 3480b3b commit 2ff0f54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/google/adk/tools/mcp_tool/mcp_toolset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ async def get_tools(
173173
session.list_tools(), timeout=timeout_in_seconds
174174
)
175175
except Exception as e:
176-
raise ConnectionError("Failed to get tools from MCP server.") from e
176+
raise ConnectionError(f"Failed to get tools from MCP server: {e}") from e
177177

178178
# Apply filtering based on context and tool_filter
179179
tools = []

0 commit comments

Comments
 (0)