Trying to catch failed lsp start; root_dir added to pylsp

This commit is contained in:
2024-09-22 19:38:25 -05:00
parent 47cdf2ffc3
commit c1fcf19ae2
2 changed files with 5 additions and 1 deletions

View File

@@ -34,6 +34,9 @@ class LSPControllerWebsocket(LSPControllerBase):
stdout = subprocess.PIPE,
stdin = subprocess.PIPE
)
if not self.lsp_process.poll() == None:
raise Exception("LSP thread not started!")
except Exception as e:
self.log_list.add_log_entry(
"LSP Client Error",