Improve error logging
This commit is contained in:
parent
6885fb2b41
commit
4eabc2d65a
49 changed files with 212 additions and 188 deletions
|
@ -104,22 +104,13 @@ export class MeModel {
|
|||
})
|
||||
await Promise.all([
|
||||
this.memberships?.setup().catch(e => {
|
||||
this.rootStore.log.error(
|
||||
'Failed to setup memberships model',
|
||||
e.toString(),
|
||||
)
|
||||
this.rootStore.log.error('Failed to setup memberships model', e)
|
||||
}),
|
||||
this.mainFeed.setup().catch(e => {
|
||||
this.rootStore.log.error(
|
||||
'Failed to setup main feed model',
|
||||
e.toString(),
|
||||
)
|
||||
this.rootStore.log.error('Failed to setup main feed model', e)
|
||||
}),
|
||||
this.notifications.setup().catch(e => {
|
||||
this.rootStore.log.error(
|
||||
'Failed to setup notifications model',
|
||||
e.toString(),
|
||||
)
|
||||
this.rootStore.log.error('Failed to setup notifications model', e)
|
||||
}),
|
||||
])
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue