diff options
author | Eric Bailey <git@esb.lol> | 2023-11-04 13:12:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 13:12:46 -0500 |
commit | e49a3d8a564b2aa42a8c0e66dfcbae27d096dc26 (patch) | |
tree | f3b498168963bc9b945428f16c309670b18602d4 /src/view/com/notifications/Feed.tsx | |
parent | 46c2564e6531712538e44ee6880fb4bfce612ab9 (diff) | |
parent | 0c76866757367953cc6e7cc8c9ad9fcfdb00a862 (diff) | |
download | voidsky-e49a3d8a564b2aa42a8c0e66dfcbae27d096dc26.tar.zst |
Merge pull request #1813 from bluesky-social/eric/app-903-extract-logger-into-singleton
Add new logger
Diffstat (limited to 'src/view/com/notifications/Feed.tsx')
-rw-r--r-- | src/view/com/notifications/Feed.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/view/com/notifications/Feed.tsx b/src/view/com/notifications/Feed.tsx index 4ca22282d..ef16f598c 100644 --- a/src/view/com/notifications/Feed.tsx +++ b/src/view/com/notifications/Feed.tsx @@ -61,7 +61,9 @@ export const Feed = observer(function Feed({ setIsPTRing(true) await view.refresh() } catch (err) { - view.rootStore.log.error('Failed to refresh notifications feed', err) + view.rootStore.log.error('Failed to refresh notifications feed', { + error: err, + }) } finally { setIsPTRing(false) } @@ -71,7 +73,9 @@ export const Feed = observer(function Feed({ try { await view.loadMore() } catch (err) { - view.rootStore.log.error('Failed to load more notifications', err) + view.rootStore.log.error('Failed to load more notifications', { + error: err, + }) } }, [view]) |