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 13:12:46 -0500
committerGitHub <noreply@github.com>2023-11-04 13:12:46 -0500
commite49a3d8a564b2aa42a8c0e66dfcbae27d096dc26 (patch)
treef3b498168963bc9b945428f16c309670b18602d4 /src/state/index.ts
parent46c2564e6531712538e44ee6880fb4bfce612ab9 (diff)
parent0c76866757367953cc6e7cc8c9ad9fcfdb00a862 (diff)
downloadvoidsky-e49a3d8a564b2aa42a8c0e66dfcbae27d096dc26.tar.zst
Merge pull request #1813 from bluesky-social/eric/app-903-extract-logger-into-singleton
Add new logger
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()