-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Is this a support request?
Yes
Describe the bug
I am working on a React WebApp which uses both LaunchDarkly and AppInsights. Both seem to have a concept of Custom Events.
We started having large amounts of exceptions logged in our AppInsights regarding "untrusted Custom Events", and it always seems to happen next to LaunchDarkly analytic events calls. I have yet to find anything regarding untrusted custom events in both LaunchDarkly and AppInsights documentation. I have already opened the following issue with AppInsights.
The errorSrc being window.onerror hints at the error coming from an external script, but I cannot know for sure whether it comes from LaunchDarkly or ApplicationInsights.
To reproduce
Combine the use of launchdarkly-react-client-sdk: 2.29.4 and microsoft/applicationinsights-web: 3.0.2. When LaunchDarkly sends Analytic Events, notice if errors are logged in the browser or in AppInsights.
Expected behavior
Exceptions should not happen.
Logs
n/a
SDK version
Using launchdarkly-react-client-sdk: 2.29.4.
Using microsoft/applicationinsights-web: 3.0.2
Language version, developer tools
Using react: 18.2.0
OS/platform
OS: Windows, Linux, MacOS
Browsers: Chrome 116.0+, Edge 116.0+, Firefox 116.0+
Additional context
Add any other context about the problem here.
