Files
agent-framework/python/packages
T
Tao Chen ed8a975b5b fix: enable automatic exception recording on MCP spans
Remove record_exception=False and set_status_on_exception=False from
create_mcp_client_span. Let OTel handle exception recording and status
setting automatically. The manual set_mcp_span_error calls for tools/call
still correctly set error.type (which OTel's automatic handling doesn't
touch), so tool_error is preserved.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ed8a975b5b ยท 2026-06-04 15:34:36 -07:00
History
..