Skip to content

Commit a81b8c4

Browse files
author
Christian-Sidak
committed
fix: remove stale pragma: no cover from exception handler now exercised by tests
1 parent 0a9524a commit a81b8c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/mcp/client/stdio.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ async def stdout_reader():
151151
for line in lines:
152152
try:
153153
message = types.jsonrpc_message_adapter.validate_json(line, by_name=False)
154-
except Exception as exc: # pragma: no cover
154+
except Exception as exc:
155155
logger.exception("Failed to parse JSONRPC message from server")
156156
await read_stream_writer.send(exc)
157157
continue

0 commit comments

Comments
 (0)