Better align telemetry reporters across desktop and web
Note: This release contains a breaking change to the typings.
The ability to log a raw Error
object has been removed. You will now have to use sendTelemetryErrorEvent
and break the error stack down into the properties you want due to the web app insights and 1DS library both not supporting this. We want the module to abstract the details away and offer a uniform experience across all platforms.
Also fixes a bug surrounding not logging events properly on shutdown.