From f7e47f39c2f66e294c071e86806f74a52600a46e Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Fri, 22 Nov 2024 22:22:30 +0000 Subject: [PATCH] Correct comment --- src/mcp/server/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mcp/server/__init__.py b/src/mcp/server/__init__.py index 1f77c196..de155ac8 100644 --- a/src/mcp/server/__init__.py +++ b/src/mcp/server/__init__.py @@ -332,8 +332,8 @@ class Server: read_stream: MemoryObjectReceiveStream[types.JSONRPCMessage | Exception], write_stream: MemoryObjectSendStream[types.JSONRPCMessage], initialization_options: InitializationOptions, - # When True, exceptions are returned as messages to the client. - # When False, exceptions are raised, which will cause the server to shut down + # When False, exceptions are returned as messages to the client. + # When True, exceptions are raised, which will cause the server to shut down # but also make tracing exceptions much easier during testing and when using # in-process servers. raise_exceptions: bool = False,