Skip to content

Commit c77712b

Browse files
authored
Remove / from the message since it seems to cause it to be dropped. (#13899)
1 parent 854fecf commit c77712b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,9 +1706,10 @@ export class DefaultClient implements Client {
17061706

17071707
// Wait 1 second to allow time for the file watcher to signal a crash call stack write has occurred.
17081708
setTimeout(() => {
1709+
const sanitizedLspMessage = this.lastInvokedLspMessage.replace('/', '.');
17091710
telemetry.logLanguageServerEvent("languageClientCrash",
17101711
{
1711-
lastInvokedLspMessage: this.lastInvokedLspMessage
1712+
lastInvokedLspMessage: sanitizedLspMessage
17121713
},
17131714
{
17141715
restarting: Number(restart),

0 commit comments

Comments
 (0)