diff options
Diffstat (limited to 'src/state/models/suggested-invites-view.ts')
-rw-r--r-- | src/state/models/suggested-invites-view.ts | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/state/models/suggested-invites-view.ts b/src/state/models/suggested-invites-view.ts index 33ca7396e..eb0665bca 100644 --- a/src/state/models/suggested-invites-view.ts +++ b/src/state/models/suggested-invites-view.ts @@ -98,8 +98,11 @@ export class SuggestedInvitesView { try { // TODO need to fetch all! await this.sceneAssertionsView.setup() - } catch (e) { - console.error(e) + } catch (e: any) { + this.rootStore.log.error( + 'Failed to fetch current scene members in suggested invites', + e.toString(), + ) this._xIdle( 'Failed to fetch the current scene members. Check your internet connection and try again.', ) @@ -107,8 +110,11 @@ export class SuggestedInvitesView { } try { await this.myFollowsView.setup() - } catch (e) { - console.error(e) + } catch (e: any) { + this.rootStore.log.error( + 'Failed to fetch current followers in suggested invites', + e.toString(), + ) this._xIdle( 'Failed to fetch the your current followers. Check your internet connection and try again.', ) |