Skip to content

Commit

Permalink
[main] disable sdk load error send #1672 (#2207)
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuniu-ms committed Dec 13, 2023
1 parent 113f4ee commit fe9fe0f
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 108 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ The current version of the snippet is version 7, the version is identified by th
// name: "appInsights", // Global SDK Instance name defaults to "appInsights" when not supplied
// ld: 0, // Defines the load delay (in ms) before attempting to load the sdk. -1 = block page load and add to head. (default) = 0ms load after timeout,
// useXhr: 1, // Use XHR instead of fetch to report failures (if available),
// dle: true, // Prevent the SDK from reporting load failure log
crossOrigin: "anonymous", // When supplied this will add the provided value as the cross origin attribute on the script tag
// onInit: null, // Once the application insights instance has loaded and initialized this callback function will be called with 1 argument -- the sdk instance (DO NOT ADD anything to the sdk.queue -- As they won't get called)
cfg: { // Application Insights Configuration
Expand Down
Loading

0 comments on commit fe9fe0f

Please sign in to comment.