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