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/screens/PostThread.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/view/screens/PostThread.tsx')

diff --git a/src/view/screens/PostThread.tsx b/src/view/screens/PostThread.tsx
index 86fde1374..eb8ac9eb4 100644
--- a/src/view/screens/PostThread.tsx
+++ b/src/view/screens/PostThread.tsx
@@ -38,7 +38,7 @@ export const PostThread = ({navIdx, visible, params}: ScreenParams) => {
           }
         },
         err => {
-          store.log.error('Failed to fetch thread', err.toString())
+          store.log.error('Failed to fetch thread', err)
         },
       )
     }
-- 
cgit 1.4.1

