Skip to content

Commit 79619ee

Browse files
authored
Merge pull request #3580 from Shopify/emily/project-name-on-error
Pass workspace to telemetry on every error log
2 parents 4d348c5 + 020496f commit 79619ee

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)