Skip to content

Commit 7ea89af

Browse files
authored
Remove language client error telemetry (#14651)
1 parent 62f57a7 commit 7ea89af

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

Extension/src/LanguageServer/client.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1765,14 +1765,7 @@ export class DefaultClient implements Client {
17651765
initializationOptions: lspInitializationOptions,
17661766
middleware: createProtocolFilter(),
17671767
errorHandler: {
1768-
error: (error, message, count) => {
1769-
telemetry.logLanguageServerEvent("languageClientError", {
1770-
clientError: error.toString(),
1771-
clientMessage: message?.toString() ?? '',
1772-
count: count?.toString() ?? ''
1773-
});
1774-
return { action: ErrorAction.Continue };
1775-
},
1768+
error: (_error, _message, _count) => ({ action: ErrorAction.Continue }),
17761769
closed: () => {
17771770
languageClientHasCrashed = true;
17781771
languageClientCrashTimes.push(Date.now());

0 commit comments

Comments
 (0)