We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59402b0 commit 8c84736Copy full SHA for 8c84736
src/mcp/server/__init__.py
@@ -332,8 +332,8 @@ async def run(
332
read_stream: MemoryObjectReceiveStream[types.JSONRPCMessage | Exception],
333
write_stream: MemoryObjectSendStream[types.JSONRPCMessage],
334
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
+ # When False, exceptions are returned as messages to the client.
+ # When True, exceptions are raised, which will cause the server to shut down
337
# but also make tracing exceptions much easier during testing and when using
338
# in-process servers.
339
raise_exceptions: bool = False,
0 commit comments