about summary refs log tree commit diff
path: root/src/view/com/post-thread/PostThread.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-01-02 21:39:15 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-01-02 21:39:15 -0600
commit4eabc2d65aa742e6cf55822943f04275531d0375 (patch)
tree645742da4a45eef45019d2d0193f022b3672e01c /src/view/com/post-thread/PostThread.tsx
parent6885fb2b41efdb29e386cf696ea7304baf3a87c8 (diff)
downloadvoidsky-4eabc2d65aa742e6cf55822943f04275531d0375.tar.zst
Improve error logging
Diffstat (limited to 'src/view/com/post-thread/PostThread.tsx')
-rw-r--r--src/view/com/post-thread/PostThread.tsx5
1 files changed, 1 insertions, 4 deletions
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 = () => {