Trying to catch failed lsp start; root_dir added to pylsp
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user