Skip to content

[Feature] Avoid recording the same app launch error multiple times #2919

Description

@EmmaYuan1015

Description

The same exception can currently be recorded multiple times in app launch telemetry.

In appLauncher.ts, the error handler calls generator.addError() and then rethrows the exception. The rethrown exception is subsequently caught by TelemetryGenerator.time(), which automatically calls addError() again.

As a result, a single app launch failure may produce duplicate telemetry properties such as:

error.code0 = <error code>
error.code1 = <same error code>

Activity

  1. changed the title [-][Feature] Avoid recording the same app launch error multiple times in telemetry[/-] [+][Feature] Avoid recording the same app launch error multiple times[/+] on Sep 22, 2026
  2. linked a pull request that will close this issueAvoid duplicate error telemetry #2960on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions