Skip to content

fix(mcp): preserve startup exception details - #7643

Open
dajinzhu wants to merge 1 commit into
OpenBB-finance:developfrom
dajinzhu:fix/issue-7635-mcp-error-trace-20260820
Open

fix(mcp): preserve startup exception details#7643
dajinzhu wants to merge 1 commit into
OpenBB-finance:developfrom
dajinzhu:fix/issue-7635-mcp-error-trace-20260820

Conversation

@dajinzhu

Copy link
Copy Markdown

Fixes #7635.

What changed

  • Log MCP startup failures with logger.exception so the exception type, message, and traceback are preserved.
  • Add a regression test covering a startup exception from the MCP server runner.

Verification

  • 9 targeted tests passed in the implementation environment.
  • py_compile passed.
  • ruff check passed in the implementation environment.
  • git diff --check passed.

@CLAassistant

CLAassistant commented Aug 20, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]

2 participants