From 1b7b992f596a30b8f0e32e08035a23d036bc4787 Mon Sep 17 00:00:00 2001 From: haojiangliu Date: Fri, 28 Jun 2024 16:56:48 +0800 Subject: [PATCH] fix: add telemetry for office agent for unit test - bug fix 6 --- .../src/officeChat/commands/create/officeCreateCommandHandler.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/vscode-extension/src/officeChat/commands/create/officeCreateCommandHandler.ts b/packages/vscode-extension/src/officeChat/commands/create/officeCreateCommandHandler.ts index 9d86bc1d7f..21105c010d 100644 --- a/packages/vscode-extension/src/officeChat/commands/create/officeCreateCommandHandler.ts +++ b/packages/vscode-extension/src/officeChat/commands/create/officeCreateCommandHandler.ts @@ -117,7 +117,6 @@ export default async function officeCreateCommandHandler( } catch (error) { officeChatTelemetryData.markComplete("fail"); } - officeChatTelemetryData.markComplete(); ExtTelemetry.sendTelemetryEvent( TelemetryEvent.CopilotChat, officeChatTelemetryData.properties,