Skip to content

Commit 020496f

Browse files
committed
Pass workspace to telemetry on every error log
We use this information to help us debug by exposing which projects are producing the errors.
1 parent 8662998 commit 020496f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vscode/src/client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,9 @@ export default class Client extends LanguageClient implements ClientInterface {
424424
{
425425
appType: "server",
426426
appVersion: this.serverVersion,
427+
workspace: new vscode.TelemetryTrustedValue(
428+
path.basename(this.workingDirectory),
429+
),
427430
},
428431
);
429432
} else if (event.type === "data" && this.validServerTelemetry(event)) {

0 commit comments

Comments
 (0)