question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Browser exceptions are no longer automatically tracked after 2.8.0

See original GitHub issue

Description/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

  1. 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.
  2. Install 2.7.4 and repeat. Exceptions are tracked, and the handler is present on the window.
  • 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:closed
  • Created a year ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
MSNevcommented, May 17, 2022

v2.8.3 is now fully deployed to the CDN

1reaction
WoodyWoodstacommented, Apr 22, 2022

@MSNev Thank you for raising #1815 to fix this issue 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found