diff options
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]) |