diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-04-23 14:08:33 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-04-23 14:08:33 +0300 |
| commit | ce0a1e7ad134089f62835fc0f9f015fed673766b (patch) | |
| tree | ddecf79423aad58e8d7f22e631c2c58e04af4456 | |
| parent | cda298c8223851d50edcd2761391d4ddb8932ed1 (diff) | |
add back missing catch
| -rw-r--r-- | src/services/notifications_fetcher/notifications_fetcher.service.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/notifications_fetcher/notifications_fetcher.service.js b/src/services/notifications_fetcher/notifications_fetcher.service.js index eb6d84c4..864e32f8 100644 --- a/src/services/notifications_fetcher/notifications_fetcher.service.js +++ b/src/services/notifications_fetcher/notifications_fetcher.service.js @@ -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 }) => { |
