Skip to content

Commit 742a454

Browse files
authored
Apply suggestion from @Kludex
1 parent 0ae7b66 commit 742a454

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/mcp/client/client.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ def __init__(
6666
self,
6767
server: Server[Any] | FastMCP,
6868
*,
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.
69+
# TODO(Marcelo): When do `raise_exceptions=True` actually raises?
7370
raise_exceptions: bool = False,
7471
read_timeout_seconds: float | None = None,
7572
sampling_callback: SamplingFnT | None = None,

0 commit comments

Comments
 (0)