File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ async def _handle_session_message(message: SessionMessage) -> None:
440440 except Exception as e :
441441 # Other exceptions are not expected and should be logged. We purposefully
442442 # catch all exceptions here to avoid crashing the server.
443- logging .exception (f"Unhandled exception in receive loop: { e } " ) # pragma: no cover
443+ logging .exception (f"Unhandled exception in receive loop: { e } " )
444444 finally :
445445 # after the read stream is closed, we need to send errors
446446 # to any pending requests
@@ -516,7 +516,7 @@ async def _handle_response(self, message: SessionMessage) -> None:
516516 if stream :
517517 await stream .send (message .message )
518518 else :
519- logging .warning ( # pragma: no cover
519+ logging .warning (
520520 "Received response with unknown request ID %r — dropping (request may have timed out)" , response_id
521521 )
522522
You can’t perform that action at this time.
0 commit comments