From 4eabc2d65aa742e6cf55822943f04275531d0375 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Mon, 2 Jan 2023 21:39:15 -0600
Subject: Improve error logging

---
 src/view/com/post-thread/PostRepostedBy.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 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 4ca20aedd..5dbb6219e 100644
--- a/src/view/com/post-thread/PostRepostedBy.tsx
+++ b/src/view/com/post-thread/PostRepostedBy.tsx
@@ -28,9 +28,7 @@ export const PostRepostedBy = observer(function PostRepostedBy({
     setView(newView)
     newView
       .setup()
-      .catch(err =>
-        store.log.error('Failed to fetch reposted by', err.toString()),
-      )
+      .catch(err => store.log.error('Failed to fetch reposted by', err))
   }, [uri, view?.params.uri, store])
 
   const onRefresh = () => {
-- 
cgit 1.4.1

