Compare commits
3 commits
697ad50e1c
...
e28169458e
Author | SHA1 | Date | |
---|---|---|---|
e28169458e | |||
3e3bc2cd17 | |||
a4bd395122 |
2 changed files with 6 additions and 2 deletions
|
@ -1 +1 @@
|
|||
0.15.0-dev.836+080ee25ec
|
||||
0.15.0-dev.877+0adcfd60f
|
||||
|
|
|
@ -375,7 +375,11 @@ const Process = struct {
|
|||
self.write_log("### RECV:\n{s}\n###\n", .{bytes});
|
||||
self.frame_message_recv() catch |e| {
|
||||
self.write_log("### RECV error: {any}\n", .{e});
|
||||
return e;
|
||||
switch (e) {
|
||||
// ignore invalid LSP messages that are at least framed correctly
|
||||
error.InvalidMessage, error.InvalidMessageField => {},
|
||||
else => return e,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue