about summary refs log tree commit diff
path: root/src/view/com/notifications/Feed.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-01-02 21:39:15 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-01-02 21:39:15 -0600
commit4eabc2d65aa742e6cf55822943f04275531d0375 (patch)
tree645742da4a45eef45019d2d0193f022b3672e01c /src/view/com/notifications/Feed.tsx
parent6885fb2b41efdb29e386cf696ea7304baf3a87c8 (diff)
downloadvoidsky-4eabc2d65aa742e6cf55822943f04275531d0375.tar.zst
Improve error logging
Diffstat (limited to 'src/view/com/notifications/Feed.tsx')
-rw-r--r--src/view/com/notifications/Feed.tsx10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/view/com/notifications/Feed.tsx b/src/view/com/notifications/Feed.tsx
index 6406a598b..59b83bbab 100644
--- a/src/view/com/notifications/Feed.tsx
+++ b/src/view/com/notifications/Feed.tsx
@@ -39,20 +39,14 @@ export const Feed = observer(function Feed({
     view
       .refresh()
       .catch(err =>
-        view.rootStore.log.error(
-          'Failed to refresh notifications feed',
-          err.toString(),
-        ),
+        view.rootStore.log.error('Failed to refresh notifications feed', err),
       )
   }
   const onEndReached = () => {
     view
       .loadMore()
       .catch(err =>
-        view.rootStore.log.error(
-          'Failed to load more notifications',
-          err.toString(),
-        ),
+        view.rootStore.log.error('Failed to load more notifications', err),
       )
   }
   let data