Replies: 2 comments 5 replies
-
Hi @ls-infra the Promise you await on start will reject. |
Beta Was this translation helpful? Give feedback.
-
Yes, generally you need error handling around await.
The editor and it's syntax highlighting are launched even if the language server start fails. What is currently wrong is that the wrapper doesn't flag its init is done if the language server start fails. You can work around the problem by starting them independently like done here: |
Beta Was this translation helpful? Give feedback.
-
hello, is there any callback function i can pass if the LSP WS is failed ?
thanks ,
monaco-languageclient/packages/wrapper/src/languageClientWrapper.ts
Line 19 in ea57ad8
Beta Was this translation helpful? Give feedback.
All reactions