about summary refs log tree commit diff
path: root/src/state/models/lists/user-followers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models/lists/user-followers.ts')
-rw-r--r--src/state/models/lists/user-followers.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state/models/lists/user-followers.ts b/src/state/models/lists/user-followers.ts
index d76ecce1a..159308b9b 100644
--- a/src/state/models/lists/user-followers.ts
+++ b/src/state/models/lists/user-followers.ts
@@ -6,6 +6,7 @@ import {
 import {RootStoreModel} from '../root-store'
 import {cleanError} from 'lib/strings/errors'
 import {bundleAsync} from 'lib/async/bundle'
+import {logger} from '#/logger'
 
 const PAGE_SIZE = 30
 
@@ -99,7 +100,7 @@ export class UserFollowersModel {
     this.hasLoaded = true
     this.error = cleanError(err)
     if (err) {
-      this.rootStore.log.error('Failed to fetch user followers', {error: err})
+      logger.error('Failed to fetch user followers', {error: err})
     }
   }