about summary refs log tree commit diff
path: root/src/state/index.ts
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/state/index.ts
parentdf0dcf32f99631c52b039c7f1934481924d37465 (diff)
downloadvoidsky-7e29ebbadbf6246a664a2bf45b3798b3ecd87955.tar.zst
Fix other error logs while I'm at it
Diffstat (limited to 'src/state/index.ts')
-rw-r--r--src/state/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/index.ts b/src/state/index.ts
index 42687a229..2c81c0ddf 100644
--- a/src/state/index.ts
+++ b/src/state/index.ts
@@ -25,7 +25,7 @@ export async function setupState(serviceUri = DEFAULT_SERVICE) {
     rootStore.log.debug('Initial hydrate', {hasSession: !!data.session})
     rootStore.hydrate(data)
   } catch (e: any) {
-    rootStore.log.error('Failed to load state from storage', e)
+    rootStore.log.error('Failed to load state from storage', {error: e})
   }
   rootStore.attemptSessionResumption()