You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few users are encountering a "Failed to load the Google 3P Authorization JavaScript Library" error on my app. This error is being captured by Sentry, and it appears that the library isn't handling or responding to the error appropriately.
Here's the relevant code snippet from this library:
exportconstloadGApi=()=>newPromise<types.Google>((resolve,reject)=>{// [...]script.addEventListener("error",()=>{reject("Failed to load the Google 3P Authorization JavaScript Library.");});// [...]});exportconstgoogleSdkLoaded: types.GoogleSdkLoaded=(action)=>{// [...]loadGApi().then((google)=>{action(google);});// No catch block or promise handling here, leading to an unhandled rejection in the browser.// [...]};
Is this behavior expected? If not, is there any temporary workaround to handle this error more gracefully?
The text was updated successfully, but these errors were encountered:
A few users are encountering a "Failed to load the Google 3P Authorization JavaScript Library" error on my app. This error is being captured by Sentry, and it appears that the library isn't handling or responding to the error appropriately.
Here's the relevant code snippet from this library:
Is this behavior expected? If not, is there any temporary workaround to handle this error more gracefully?
The text was updated successfully, but these errors were encountered: