File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
neovim/msgpack_rpc/event_loop Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ def connection_made(self, transport):
44
44
45
45
def connection_lost (self , exc ):
46
46
"""Used to signal `asyncio.Protocol` of a lost connection."""
47
- self ._on_error (exc .message if exc else 'EOF' )
47
+ self ._on_error (exc .args [ 0 ] if exc else 'EOF' )
48
48
49
49
def data_received (self , data ):
50
50
"""Used to signal `asyncio.Protocol` of incoming data."""
@@ -55,7 +55,7 @@ def data_received(self, data):
55
55
56
56
def pipe_connection_lost (self , fd , exc ):
57
57
"""Used to signal `asyncio.SubprocessProtocol` of a lost connection."""
58
- self ._on_error (exc .message if exc else 'EOF' )
58
+ self ._on_error (exc .args [ 0 ] if exc else 'EOF' )
59
59
60
60
def pipe_data_received (self , fd , data ):
61
61
"""Used to signal `asyncio.SubprocessProtocol` of incoming data."""
You can’t perform that action at this time.
0 commit comments