Skip to content

Commit

Permalink
Add workspace name to error telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Oct 23, 2024
1 parent 6803883 commit eccfa2b
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 eccfa2b

Please sign in to comment.