Under the hood
Useful2 Signal0
A weird thrown error can no longer break error reporting on its way out.
What's wrong with this entry?
Anonymous. No account, no email.
What
Reading and augmenting error metadata for telemetry no longer risks throwing from a malformed thrown value.
Details
telemetryMessageis read through a guarded helper that type-checks the property and swallows any throw.- A companion helper copies missing fields onto an error only when it is a non-null extensible object, also wrapped in try/catch.
- Fields already present on the error are never overwritten.
Evidence
telemetryMessage
Strings lifted out of the shipped bundle, so the claim above can be checked against them.