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/PostRepostedBy.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/src/view/com/post-thread/PostRepostedBy.tsx b/src/view/com/post-thread/PostRepostedBy.tsx
index e4b592779..0e681777e 100644
--- a/src/view/com/post-thread/PostRepostedBy.tsx
+++ b/src/view/com/post-thread/PostRepostedBy.tsx
@@ -23,7 +23,7 @@ export const PostRepostedBy = observer(function PostRepostedByImpl({
   useEffect(() => {
     view
       .loadMore()
-      .catch(err => store.log.error('Failed to fetch reposts', err))
+      .catch(err => store.log.error('Failed to fetch reposts', {error: err}))
   }, [view, store.log])
 
   const onRefresh = () => {
@@ -33,7 +33,7 @@ export const PostRepostedBy = observer(function PostRepostedByImpl({
     view
       .loadMore()
       .catch(err =>
-        view?.rootStore.log.error('Failed to load more reposts', err),
+        view?.rootStore.log.error('Failed to load more reposts', {error: err}),
       )
   }
 
-- 
cgit 1.4.1

