fix: prevent unexpected message errors on missing LSP binary
This commit is contained in:
parent
48ea5c649b
commit
9a580ac0e7
1 changed files with 2 additions and 0 deletions
|
@ -413,6 +413,8 @@ const Process = struct {
|
||||||
return;
|
return;
|
||||||
} else if (try cbor.match(m.buf, .{ "exit", "error.FileNotFound", tp.more })) {
|
} else if (try cbor.match(m.buf, .{ "exit", "error.FileNotFound", tp.more })) {
|
||||||
return;
|
return;
|
||||||
|
} else if (try cbor.match(m.buf, .{ "exit", "error.LspFailed", tp.more })) {
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
self.logger.err("receive", tp.unexpected(m));
|
self.logger.err("receive", tp.unexpected(m));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue