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

fix: Handle chunk load promise error introduced in 1.235.0 #603

Merged
merged 2 commits into from
Jun 27, 2023

Conversation

cwli24
Copy link
Contributor

@cwli24 cwli24 commented Jun 23, 2023

Starting in 1.235.0, loading the agent in browsers with strict privacy settings resulted in an uncaught error in a promise. This error has been handled, and chunk load failures again result only in a warning.

Overview

Eliminate promise rejection.

Related Issue(s)

NR-129244 // #599

Testing

Verify that when one of the feature's aggregate import is blocked & fails, no uncaught promise is thrown.

@cwli24 cwli24 added bug Something isn't working safe to test small Small Engineering Effort labels Jun 23, 2023
@bjfield bjfield changed the title fix: Uncaught promise from 1.235.0 NR-129244 fix: Handle chunk load promise error introduced in 1.235.0 - NR-129244 Jun 23, 2023
@cwli24 cwli24 merged commit a702e23 into newrelic:main Jun 27, 2023
@cwli24 cwli24 deleted the fix-onagg-uncaught branch June 27, 2023 14:07
@cwli24 cwli24 changed the title fix: Handle chunk load promise error introduced in 1.235.0 - NR-129244 fix: Handle chunk load promise error introduced in 1.235.0 Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working small Small Engineering Effort
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants