[BUG] Browser exceptions are no longer automatically tracked after 2.8.0
See original GitHub issueDescription/Screenshot
Using 2.8.0
, browser exceptions are no longer automatically caught and tracked. No error handler is present on the window
.
Steps to Reproduce
- Install
2.8.0
and throw an exception in the browser. Check Application Insights failures panel for errors. No exceptions are presented. No exceptions are added to the/track
network request payload. - Install
2.7.4
and repeat. Exceptions are tracked, and the handler is present on thewindow
.
- OS/Browser: MacOS/Chrome
- SDK Version:
2.8.0
- How you initialized the SDK:
export const appInsights = new ApplicationInsights({
config: {
instrumentationKey,
extensions: [reactPlugin],
enableDebug,
loggingLevelConsole: enableDebug ? 2 : 0,
loggingLevelTelemetry: enableDebug ? 2 : 1,
autoTrackPageVisitTime: true,
enableAutoRouteTracking: true,
enableDebugExceptions: enableDebug,
enableUnhandledPromiseRejectionTracking: true,
enableCorsCorrelation: false,
enableRequestHeaderTracking: true,
enableResponseHeaderTracking: true,
},
});
enableDebug=true
Expected behavior
As above, the exceptions thrown in the browser are tracked - the handler is present on the window
.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
@microsoft/applicationinsights-shims | Yarn - Package Manager
While the Application Insights JS SDK will use the stubs defined in this packaging for the browser instances (those that are uploaded to...
Read more >WorkManager - Android Developers
Applications can no longer launch a foreground service when they are in the ... duration that WorkRequest s are tracked after a WorkRequest...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug :1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance to users, ... Bug:47018 - "aterm no longer processes high-ASCII pastes properly" ......
Read more >Azure Application Insights for ASP.NET Core applications
Application Insights automatically collects telemetry about specific workloads without requiring manual tracking by user. By default, the ...
Read more >Release Notes - Broad Institute
Chromosomes occupying less than 1 pixel in width are no longer drawn in this view. IGV 1.5.63, igvtools 1.14 released April 2011. Bug...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
v2.8.3 is now fully deployed to the CDN
@MSNev Thank you for raising #1815 to fix this issue 😃