diff options
author | Eric Bailey <git@esb.lol> | 2023-11-04 13:42:36 -0500 |
---|---|---|
committer | Eric Bailey <git@esb.lol> | 2023-11-04 13:42:36 -0500 |
commit | f51351e80d446fc058faf0ab91757ca4bdead0a5 (patch) | |
tree | 0c2372a71e605bfbb99b38113305b800ddd04064 /src/state/models/lists/user-follows.ts | |
parent | e49a3d8a564b2aa42a8c0e66dfcbae27d096dc26 (diff) | |
download | voidsky-f51351e80d446fc058faf0ab91757ca4bdead0a5.tar.zst |
Replace all logs with new logger
Diffstat (limited to 'src/state/models/lists/user-follows.ts')
-rw-r--r-- | src/state/models/lists/user-follows.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state/models/lists/user-follows.ts b/src/state/models/lists/user-follows.ts index c9630eba8..3abbbaf95 100644 --- a/src/state/models/lists/user-follows.ts +++ b/src/state/models/lists/user-follows.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 UserFollowsModel { this.hasLoaded = true this.error = cleanError(err) if (err) { - this.rootStore.log.error('Failed to fetch user follows', err) + logger.error('Failed to fetch user follows', err) } } |