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 a204d0d commit 805ae6fCopy full SHA for 805ae6f
pygls/protocol/json_rpc.py
@@ -542,6 +542,9 @@ def _send_data(self, data: Any):
542
if inspect.isawaitable(res):
543
asyncio.ensure_future(res)
544
545
+ except BrokenPipeError:
546
+ logger.exception("Error sending data. BrokenPipeError", exc_info=True)
547
+ raise
548
except Exception as error:
549
logger.exception("Error sending data", exc_info=True)
550
self._server._report_server_error(error, JsonRpcInternalError)
0 commit comments