Improve error logging

This commit is contained in:
Paul Frazee 2023-01-02 21:39:15 -06:00
parent 6885fb2b41
commit 4eabc2d65a
49 changed files with 212 additions and 188 deletions

View file

@ -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 = () => {