about summary refs log tree commit diff
path: root/src/view/com/modals/ChangeHandle.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-04 12:58:50 -0500
committerEric Bailey <git@esb.lol>2023-11-04 12:58:50 -0500
commit7e29ebbadbf6246a664a2bf45b3798b3ecd87955 (patch)
tree4808764811049c27748112cdfa575abeef8fb948 /src/view/com/modals/ChangeHandle.tsx
parentdf0dcf32f99631c52b039c7f1934481924d37465 (diff)
downloadvoidsky-7e29ebbadbf6246a664a2bf45b3798b3ecd87955.tar.zst
Fix other error logs while I'm at it
Diffstat (limited to 'src/view/com/modals/ChangeHandle.tsx')
-rw-r--r--src/view/com/modals/ChangeHandle.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/modals/ChangeHandle.tsx b/src/view/com/modals/ChangeHandle.tsx
index a1226680e..2fb1a503a 100644
--- a/src/view/com/modals/ChangeHandle.tsx
+++ b/src/view/com/modals/ChangeHandle.tsx
@@ -69,7 +69,7 @@ export function Component({onChanged}: {onChanged: () => void}) {
           `Failed to fetch service description for ${String(
             store.agent.service,
           )}`,
-          err,
+          {error: err},
         )
         setError(
           'Unable to contact your service. Please check your Internet connection.',
@@ -113,7 +113,7 @@ export function Component({onChanged}: {onChanged: () => void}) {
       onChanged()
     } catch (err: any) {
       setError(cleanError(err))
-      store.log.error('Failed to update handle', {handle, err})
+      store.log.error('Failed to update handle', {handle, error: err})
     } finally {
       setProcessing(false)
     }
@@ -343,7 +343,7 @@ function CustomHandleForm({
       }
     } catch (err: any) {
       setError(cleanError(err))
-      store.log.error('Failed to verify domain', {handle, err})
+      store.log.error('Failed to verify domain', {handle, error: err})
     } finally {
       setIsVerifying(false)
     }