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/com/modals/InviteToScene.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/view/com/modals/InviteToScene.tsx')

diff --git a/src/view/com/modals/InviteToScene.tsx b/src/view/com/modals/InviteToScene.tsx
index 6fe17b4dc..2b4d0ac29 100644
--- a/src/view/com/modals/InviteToScene.tsx
+++ b/src/view/com/modals/InviteToScene.tsx
@@ -86,7 +86,7 @@ export const Component = observer(function Component({
       Toast.show('Invite sent')
     } catch (e: any) {
       setError('There was an issue with the invite. Please try again.')
-      store.log.error('Failed to invite user to scene', e.toString())
+      store.log.error('Failed to invite user to scene', e)
     }
   }
   const onPressUndo = async (subjectDid: string, assertionUri: string) => {
@@ -100,7 +100,7 @@ export const Component = observer(function Component({
       setCreatedInvites(_omit(createdInvites, [subjectDid]))
     } catch (e: any) {
       setError('There was an issue with the invite. Please try again.')
-      store.log.error('Failed to delete a scene invite', e.toString())
+      store.log.error('Failed to delete a scene invite', e)
     }
   }
 
@@ -119,7 +119,7 @@ export const Component = observer(function Component({
       Toast.show('Invite removed')
     } catch (e: any) {
       setError('There was an issue with the invite. Please try again.')
-      store.log.error('Failed to delete an invite', e.toString())
+      store.log.error('Failed to delete an invite', e)
     }
   }
 
-- 
cgit 1.4.1

