Implement logging system
This commit is contained in:
parent
99cec71ed7
commit
f6a0e634d7
39 changed files with 442 additions and 125 deletions
|
|
@ -14,12 +14,12 @@ export const Notifications = ({navIdx, visible}: ScreenParams) => {
|
|||
if (!visible) {
|
||||
return
|
||||
}
|
||||
console.log('Updating notifications feed')
|
||||
store.log.debug('Updating notifications feed')
|
||||
store.me.refreshMemberships() // needed for the invite notifications
|
||||
store.me.notifications
|
||||
.update()
|
||||
.catch(e => {
|
||||
console.error('Error while updating notifications feed', e)
|
||||
store.log.error('Error while updating notifications feed', e.toString())
|
||||
})
|
||||
.then(() => {
|
||||
store.me.notifications.updateReadState()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue