diff options
author | Eric Bailey <git@esb.lol> | 2023-11-04 14:00:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 14:00:38 -0500 |
commit | 95b5e642dcca7b6fbf60cb1b86a94ba9d40415e1 (patch) | |
tree | 704c8dc022b0536951e4cb49b0006991253c3903 /src/state/models/content/profile.ts | |
parent | e49a3d8a564b2aa42a8c0e66dfcbae27d096dc26 (diff) | |
parent | f6fe980a6457bc7394427b569b2e5b05ce5278f6 (diff) | |
download | voidsky-95b5e642dcca7b6fbf60cb1b86a94ba9d40415e1.tar.zst |
Merge pull request #1814 from bluesky-social/eric/replace-logger
Remove old logger
Diffstat (limited to 'src/state/models/content/profile.ts')
-rw-r--r-- | src/state/models/content/profile.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state/models/content/profile.ts b/src/state/models/content/profile.ts index 0050970e6..14362ceec 100644 --- a/src/state/models/content/profile.ts +++ b/src/state/models/content/profile.ts @@ -15,6 +15,7 @@ import {cleanError} from 'lib/strings/errors' import {FollowState} from '../cache/my-follows' import {Image as RNImage} from 'react-native-image-crop-picker' import {track} from 'lib/analytics/analytics' +import {logger} from '#/logger' export class ProfileViewerModel { muted?: boolean @@ -235,7 +236,7 @@ export class ProfileModel { this.hasLoaded = true this.error = cleanError(err) if (err) { - this.rootStore.log.error('Failed to fetch profile', {error: err}) + logger.error('Failed to fetch profile', {error: err}) } } |