From 7e29ebbadbf6246a664a2bf45b3798b3ecd87955 Mon Sep 17 00:00:00 2001
From: Eric Bailey <git@esb.lol>
Date: Sat, 4 Nov 2023 12:58:50 -0500
Subject: Fix other error logs while I'm at it

---
 src/view/com/post-thread/PostLikedBy.tsx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'src/view/com/post-thread/PostLikedBy.tsx')

diff --git a/src/view/com/post-thread/PostLikedBy.tsx b/src/view/com/post-thread/PostLikedBy.tsx
index 574fe1e8e..d16e8d306 100644
--- a/src/view/com/post-thread/PostLikedBy.tsx
+++ b/src/view/com/post-thread/PostLikedBy.tsx
@@ -18,7 +18,9 @@ export const PostLikedBy = observer(function PostLikedByImpl({
   const view = React.useMemo(() => new LikesModel(store, {uri}), [store, uri])
 
   useEffect(() => {
-    view.loadMore().catch(err => store.log.error('Failed to fetch likes', err))
+    view
+      .loadMore()
+      .catch(err => store.log.error('Failed to fetch likes', {error: err}))
   }, [view, store.log])
 
   const onRefresh = () => {
@@ -27,7 +29,9 @@ export const PostLikedBy = observer(function PostLikedByImpl({
   const onEndReached = () => {
     view
       .loadMore()
-      .catch(err => view?.rootStore.log.error('Failed to load more likes', err))
+      .catch(err =>
+        view?.rootStore.log.error('Failed to load more likes', {error: err}),
+      )
   }
 
   if (!view.hasLoaded) {
-- 
cgit 1.4.1

