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

Provide an option to disable "SDK LOAD Failure errors" #1672

Closed
Cisien opened this issue Sep 14, 2021 · 2 comments
Closed

Provide an option to disable "SDK LOAD Failure errors" #1672

Cisien opened this issue Sep 14, 2021 · 2 comments
Assignees
Labels
enhancement released - NPM snippet Snippet update required or suggested
Milestone

Comments

@Cisien
Copy link

Cisien commented Sep 14, 2021

Please provide a feature that lets me opt-out of logging "SDK LOAD Failure: ..." errors as browser exceptions. This error frequently happens due to ad blockers and other conditions outside of my control, and I would rather not see the noise along side actual problems.

Describe the solution you'd like
I would like to see an option to disable SDK load failures in the javascript snippet.

Describe alternatives you've considered
As a workaround, I have removed this code from the snippet, but that's error prone and (for obvious reasons) not supportable by azure.

@kryalama
Copy link
Contributor

To my understanding you dont want the snippet to send these failures to Application Insights whenever the SDK failed to load. Is my understanding correct? We can provide a config to opt-out of logging the exceptions. But IMHO you might want to know when the SDK failure happened.

@Cisien
Copy link
Author

Cisien commented Sep 16, 2021

That's correct.

In my scenario, this failure has always been caused by ad blockers, or other methods that users are leveraging to block trackers. The end result is an error that I am unable to resolve as it's not a bug, leaving me with only one option, which is to tolerate it. For this reason, I'd like the option to disable this error from making it into the telemetry.

@kryalama kryalama added the snippet Snippet update required or suggested label Sep 16, 2021
@kryalama kryalama added the keep Do not Mark as Stale and close label Sep 28, 2021
@MSNev MSNev added this to the 3.0.5 milestone Oct 27, 2023
@MSNev MSNev removed the keep Do not Mark as Stale and close label Oct 27, 2023
@MSNev MSNev added fixed - waiting release PR Committed and waiting deployment waiting - CDN deployment released - NPM and removed fixed - waiting release PR Committed and waiting deployment labels Feb 8, 2024
@MSNev MSNev closed this as completed Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement released - NPM snippet Snippet update required or suggested
Projects
None yet
Development

No branches or pull requests

4 participants