When creating a Nova extension from the template for LSP, the generated code contains this:
catch (err) {
// If the .start() method throws, it's likely because the path to the language server is invalid
if (nova.inDevMode()) {
console.error(err);
}
}
However, that does not match my experience or the documentation. LanguageClient - Nova says:
If the server is unable to start, such as if the executable was not found at the specified path or module, then an error will be sent via the onDidStop event listener.