[Telemetry] Bug in trackException() where data
is undefined
#14184
Labels
Area: Telemetry
bug
Invalid Triage
https://github.com/microsoft/react-native-windows/wiki/Triage-Process (label applied by bot)
Problem Description
In #14146,
trackException()
throws an exception asdata
is undefined, in reference to this part of the function:Steps To Reproduce
Needs to introduce a unit test, initially looking for
codedError.data
to be {} (seecodedErrorStruct
definition).Expected Results
trackException()
should not throw.CLI version
15.0.1
Environment
See #14146
Community Modules
No response
Target Platform Version
None
Target Device(s)
No response
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered: