Skip to content

Conversation

@bryanchen-d
Copy link
Contributor

@bryanchen-d bryanchen-d commented Dec 10, 2025

Fixes #282550

Copilot AI review requested due to automatic review settings December 10, 2025 19:15
@bryanchen-d bryanchen-d self-assigned this Dec 10, 2025
@vs-code-engineering vs-code-engineering bot added this to the December / January 2026 milestone Dec 10, 2025
Copy link
Contributor

@dmitrivMS dmitrivMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is failing...

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug that blocked extension error telemetry from being sent correctly. The issue was that when telemetry data wasn't provided to logging methods, the default empty object {} didn't match the expected ExtHostTelemetryEventData structure, potentially causing downstream telemetry senders to fail. The fix ensures the structured format with properties and measurements fields is used by default.

Key Changes

  • Updated default telemetry data structure from {} to { properties: {}, measurements: {} } to match ExtHostTelemetryEventData type
  • Changed trace event name from 'exception' to 'unhandlederror' for better semantic accuracy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing extension errors telemetry

3 participants