diff options
Diffstat (limited to 'src/view/com/post/PostText.tsx')
-rw-r--r-- | src/view/com/post/PostText.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/com/post/PostText.tsx b/src/view/com/post/PostText.tsx index 436768292..4e8761eb5 100644 --- a/src/view/com/post/PostText.tsx +++ b/src/view/com/post/PostText.tsx @@ -23,7 +23,9 @@ export const PostText = observer(function PostText({ } const newModel = new PostModel(store, uri) setModel(newModel) - newModel.setup().catch(err => console.error('Failed to fetch post', err)) + newModel + .setup() + .catch(err => store.log.error('Failed to fetch post', err.toString())) }, [uri, model?.uri, store]) // loading |