From 0e7b6e50c400e8bdda7083569d820f0cfd219202 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Sat, 13 Aug 2022 00:39:27 +0100 Subject: [PATCH] Fix friends list stops updating How? --- src/common/users.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);