We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 537d399 + e0eae26 commit c9abd85Copy full SHA for c9abd85
packages/firestore/src/api/credentials.ts
@@ -285,7 +285,12 @@ export class FirebaseAuthCredentialsProvider
285
const awaitNextToken: () => void = () => {
286
const currentTokenAttempt = nextToken;
287
asyncQueue.enqueueRetryable(async () => {
288
- await currentTokenAttempt.promise;
+ currentTokenAttempt.promise.catch(error => {
289
+ logDebug(
290
+ 'FirebaseAuthCredentialsProvider encountered an error: ',
291
+ error
292
+ );
293
+ });
294
await guardedChangeListener(this.currentUser);
295
});
296
};
0 commit comments