about summary refs log tree commit diff
path: root/src/view/com/notifications/Feed.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/notifications/Feed.tsx')
-rw-r--r--src/view/com/notifications/Feed.tsx18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/view/com/notifications/Feed.tsx b/src/view/com/notifications/Feed.tsx
index 91a01db4d..6406a598b 100644
--- a/src/view/com/notifications/Feed.tsx
+++ b/src/view/com/notifications/Feed.tsx
@@ -36,10 +36,24 @@ export const Feed = observer(function Feed({
     return <FeedItem item={item} />
   }
   const onRefresh = () => {
-    view.refresh().catch(err => console.error('Failed to refresh', err))
+    view
+      .refresh()
+      .catch(err =>
+        view.rootStore.log.error(
+          'Failed to refresh notifications feed',
+          err.toString(),
+        ),
+      )
   }
   const onEndReached = () => {
-    view.loadMore().catch(err => console.error('Failed to load more', err))
+    view
+      .loadMore()
+      .catch(err =>
+        view.rootStore.log.error(
+          'Failed to load more notifications',
+          err.toString(),
+        ),
+      )
   }
   let data
   if (view.hasLoaded) {