Skip to content

Commit 9b409a0

Browse files
committed
Fixes telemetry error
1 parent b9aaf8a commit 9b409a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ export class StructuredLogger<T extends IRecordableLogEntry> extends Disposable
7979
if (!commandId) {
8080
return false;
8181
}
82-
this._commandService.executeCommand(commandId, data);
82+
try {
83+
this._commandService.executeCommand(commandId, data).catch(() => { });
84+
} catch (e) {
85+
}
8386
return true;
8487
}
8588
}

0 commit comments

Comments
 (0)