Skip to content

Commit 5de9f2e

Browse files
committed
asyncio: pipe_data_received: call _on_error
`_on_stderr` does not exist.
1 parent f048531 commit 5de9f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pynvim/msgpack_rpc/event_loop/asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def pipe_connection_lost(self, fd, exc):
6868
def pipe_data_received(self, fd, data):
6969
"""Used to signal `asyncio.SubprocessProtocol` of incoming data."""
7070
if fd == 2: # stderr fd number
71-
self._on_stderr(data)
71+
self._on_error(data)
7272
elif self._on_data:
7373
self._on_data(data)
7474
else:

0 commit comments

Comments
 (0)