Skip to content

Commit 3c4431d

Browse files
committed
fix(git): keep stdio server alive on parse errors
1 parent b1e1eb1 commit 3c4431d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/git/src/mcp_server_git/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,4 +584,4 @@ async def call_tool(name: str, arguments: dict) -> list[TextContent]:
584584

585585
options = server.create_initialization_options()
586586
async with stdio_server() as (read_stream, write_stream):
587-
await server.run(read_stream, write_stream, options, raise_exceptions=True)
587+
await server.run(read_stream, write_stream, options, raise_exceptions=False)

0 commit comments

Comments
 (0)