Skip to content

Conversation

dsp-ant
Copy link
Member

@dsp-ant dsp-ant commented Nov 22, 2024

  • When any handler raises an McpError, we pass it as a response
  • Correct comment

Comment on lines +335 to +336
# When False, exceptions are returned as messages to the client.
# When True, exceptions are raised, which will cause the server to shut down
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦 I would love to have Claude linting for this kind of thing. Or I should just learn not to write so many comments 😆

@dsp-ant dsp-ant force-pushed the davidsp/error-fixes branch from 8c84736 to 5d661a8 Compare November 22, 2024 22:51
@dsp-ant dsp-ant force-pushed the davidsp/error-fixes branch from 5d661a8 to f7e47f3 Compare November 22, 2024 22:54
@dsp-ant dsp-ant merged commit 873f6bf into main Nov 25, 2024
5 checks passed
@dsp-ant dsp-ant deleted the davidsp/error-fixes branch November 25, 2024 14:15
gspencergoog pushed a commit to gspencergoog/mcp-python-sdk that referenced this pull request Jul 29, 2025
…justin/precise-terminology

Fix a couple of ambiguities around "client" vs. "host"
gspencergoog pushed a commit to gspencergoog/mcp-python-sdk that referenced this pull request Jul 29, 2025
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.

3 participants