Fix other error logs while I'm at it
This commit is contained in:
parent
df0dcf32f9
commit
7e29ebbadb
40 changed files with 104 additions and 86 deletions
|
|
@ -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})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue