You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to hook the LanguageClient to report the exit code for a LSP server? Neither the initializationFailedHandler nor ErrorHandler options of the LanguageClientOptions seems to work for this.
Activity
akaroml commentedon Sep 2, 2021
Yan Zhang (@Eskibear) has a case and will help with this issue.
dbaeumer commentedon Sep 2, 2021
Rome Li (@akaroml) thanks.
dbaeumer commentedon Dec 4, 2023
The error code is now printed to the Output channel. To capture it we would need to add a ExitHandler to the language client around here:
vscode-languageserver-node/client/src/node/main.ts
Line 507 in c084959