Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main] [BUG] [Snippet] Fix Unhandled exceptions are reported twice #2442 #2449

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

siyuniu-ms
Copy link
Contributor

No description provided.

@siyuniu-ms
Copy link
Contributor Author

for #2442

README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
@siyuniu-ms siyuniu-ms requested a review from Karlie-777 December 2, 2024 23:27
@@ -700,7 +700,7 @@ export class AnalyticsPlugin extends BaseTelemetryPlugin implements IAppInsights
_self._addHook(onConfigChange(_extConfig, () => {
_disableExceptionTracking = _extConfig.disableExceptionTracking;

if (!_disableExceptionTracking && !_autoExceptionInstrumented && !_extConfig.autoExceptionInstrumented) {
if (!_disableExceptionTracking && !_autoExceptionInstrumented && !_extConfig.autoExceptionInstrumented && !_self.core.config["autoExceptionInstrumented"]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am thinking, maybe we can add a test to the change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants