( track: RunUpdatePreflightOptions['track'], event: string, properties: TelemetryProperties, )
| 439 | } |
| 440 | |
| 441 | function trackUpdateEvent( |
| 442 | track: RunUpdatePreflightOptions['track'], |
| 443 | event: string, |
| 444 | properties: TelemetryProperties, |
| 445 | ): void { |
| 446 | try { |
| 447 | track?.(event, properties); |
| 448 | } catch { |
| 449 | // Telemetry must never affect update prompting. |
| 450 | } |
| 451 | } |
| 452 | |
| 453 | function logUpdateInfo(logger: UpdateLogger, message: string, payload: Record<string, unknown>): void { |
| 454 | try { |
no test coverage detected