about summary refs log tree commit diff
path: root/src/view/screens/Profile.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/screens/Profile.tsx')
-rw-r--r--src/view/screens/Profile.tsx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx
index af011f837..0fb30162c 100644
--- a/src/view/screens/Profile.tsx
+++ b/src/view/screens/Profile.tsx
@@ -63,17 +63,14 @@ export const Profile = observer(({navIdx, visible, params}: ScreenParams) => {
     uiState
       .refresh()
       .catch((err: any) =>
-        store.log.error('Failed to refresh user profile', err.toString()),
+        store.log.error('Failed to refresh user profile', err),
       )
   }
   const onEndReached = () => {
     uiState
       .loadMore()
       .catch((err: any) =>
-        store.log.error(
-          'Failed to load more entries in user profile',
-          err.toString(),
-        ),
+        store.log.error('Failed to load more entries in user profile', err),
       )
   }
   const onPressTryAgain = () => {