diff --git a/src/common/users.ts b/src/common/users.ts index bb7d0f7..7eb7078 100644 --- a/src/common/users.ts +++ b/src/common/users.ts @@ -93,8 +93,10 @@ export class CoralUser implements CoralUserData { this.updated[key] = Date.now(); - }).finally(() => { this.promise.delete(key); + }).catch(err => { + this.promise.delete(key); + throw err; }); this.promise.set(key, promise);