Fix other error logs while I'm at it

This commit is contained in:
Eric Bailey 2023-11-04 12:58:50 -05:00
parent df0dcf32f9
commit 7e29ebbadb
40 changed files with 104 additions and 86 deletions

View file

@ -130,7 +130,7 @@ export class RootStoreModel {
})
this.updateSessionState()
} catch (e: any) {
this.log.warn('Failed to initialize session', e)
this.log.warn('Failed to initialize session', {error: e})
}
}
@ -184,7 +184,7 @@ export class RootStoreModel {
await this.me.updateIfNeeded()
await this.preferences.sync()
} catch (e: any) {
this.log.error('Failed to fetch latest state', e)
this.log.error('Failed to fetch latest state', {error: e})
}
}