add back missing catch

This commit is contained in:
Shpuld Shpuldson 2020-04-23 14:08:33 +03:00
parent cda298c822
commit ce0a1e7ad1
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ const fetchNotifications = ({ store, args, older }) => {
update({ store, notifications, older })
return notifications
}, () => store.dispatch('setNotificationsError', { value: true }))
.catch(() => store.dispatch('setNotificationsError', { value: true }))
}
const startFetching = ({ credentials, store }) => {