Skip to content

Commit

Permalink
Include workspace name in error telemetry (#2763)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock authored Oct 23, 2024
1 parent 9dfbadd commit 453e658
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vscode/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,13 @@ export default class Client extends LanguageClient implements ClientInterface {
name: errorClass,
stack,
},
{ ...error.data, serverVersion: this.serverVersion },
{
...error.data,
serverVersion: this.serverVersion,
workspace: new vscode.TelemetryTrustedValue(
this.workingDirectory,
),
},
);
}
}
Expand Down

0 comments on commit 453e658

Please sign in to comment.