We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb3b76f + 3480b3b commit 2ff0f54Copy full SHA for 2ff0f54
1 file changed
src/google/adk/tools/mcp_tool/mcp_toolset.py
@@ -173,7 +173,7 @@ async def get_tools(
173
session.list_tools(), timeout=timeout_in_seconds
174
)
175
except Exception as e:
176
- raise ConnectionError("Failed to get tools from MCP server.") from e
+ raise ConnectionError(f"Failed to get tools from MCP server: {e}") from e
177
178
# Apply filtering based on context and tool_filter
179
tools = []
0 commit comments