fix: prevent unexpected message errors on missing LSP binary

This commit is contained in:
CJ van den Berg 2025-06-19 15:27:32 +02:00
parent 48ea5c649b
commit 9a580ac0e7
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -413,6 +413,8 @@ const Process = struct {
return;
} else if (try cbor.match(m.buf, .{ "exit", "error.FileNotFound", tp.more })) {
return;
} else if (try cbor.match(m.buf, .{ "exit", "error.LspFailed", tp.more })) {
return;
} else {
self.logger.err("receive", tp.unexpected(m));
}