We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac9ff6 commit b4136fbCopy full SHA for b4136fb
packages/jupyterlab-lsp/src/connection_manager.ts
@@ -411,9 +411,11 @@ export namespace DocumentConnectionManager {
411
const specs = serverManager.getMatchingSpecs(serverOptions);
412
const spec = specs.get(languageServerId);
413
if (!spec) {
414
- throw `Specification not available for server ${languageServerId}`;
+ console.warn(
415
+ `Specification not available for server ${languageServerId}`
416
+ );
417
}
- const requiresOnDiskFiles = spec.requires_documents_on_disk ?? true;
418
+ const requiresOnDiskFiles = spec?.requires_documents_on_disk ?? true;
419
const supportsInMemoryFiles = !requiresOnDiskFiles;
420
421
const baseUri =
0 commit comments