mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Restore debug logging for McpError in get_resource()
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -3526,6 +3526,7 @@ class MCPSkill(Skill):
|
||||
from mcp.shared.exceptions import McpError
|
||||
|
||||
if isinstance(ex, McpError):
|
||||
logger.debug("MCP resource '%s' not available: %s", uri, ex)
|
||||
return None
|
||||
raise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user