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/PostThread.tsx | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

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

diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx
index 187fe6c11..dcdc1eb49 100644
--- a/src/view/com/post-thread/PostThread.tsx
+++ b/src/view/com/post-thread/PostThread.tsx
@@ -21,10 +21,7 @@ export const PostThread = observer(function PostThread({
     view
       ?.refresh()
       .catch(err =>
-        view.rootStore.log.error(
-          'Failed to refresh posts thread',
-          err.toString(),
-        ),
+        view.rootStore.log.error('Failed to refresh posts thread', err),
       )
   }
   const onLayout = () => {
-- 
cgit 1.4.1

