Skip to content

Commit 8c84736

Browse files
committed
Correct comment
1 parent 59402b0 commit 8c84736

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mcp/server/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ async def run(
332332
read_stream: MemoryObjectReceiveStream[types.JSONRPCMessage | Exception],
333333
write_stream: MemoryObjectSendStream[types.JSONRPCMessage],
334334
initialization_options: InitializationOptions,
335-
# When True, exceptions are returned as messages to the client.
336-
# When False, exceptions are raised, which will cause the server to shut down
335+
# When False, exceptions are returned as messages to the client.
336+
# When True, exceptions are raised, which will cause the server to shut down
337337
# but also make tracing exceptions much easier during testing and when using
338338
# in-process servers.
339339
raise_exceptions: bool = False,

0 commit comments

Comments
 (0)