We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ae7b66 commit 742a454Copy full SHA for 742a454
src/mcp/client/client.py
@@ -66,10 +66,7 @@ def __init__(
66
self,
67
server: Server[Any] | FastMCP,
68
*,
69
- # Note: raise_exceptions only affects transport/stream errors and exceptions
70
- # that escape request handlers. Tool exceptions in FastMCP are caught by
71
- # the call_tool decorator and converted to error results. See test_client.py
72
- # test_raise_exceptions_returns_error_result_for_tool_exceptions for details.
+ # TODO(Marcelo): When do `raise_exceptions=True` actually raises?
73
raise_exceptions: bool = False,
74
read_timeout_seconds: float | None = None,
75
sampling_callback: SamplingFnT | None = None,
0 commit comments