diff --git a/src/services/notifications_fetcher/notifications_fetcher.service.js b/src/services/notifications_fetcher/notifications_fetcher.service.js index 146ae5a2c..30f973ea5 100644 --- a/src/services/notifications_fetcher/notifications_fetcher.service.js +++ b/src/services/notifications_fetcher/notifications_fetcher.service.js @@ -99,13 +99,13 @@ const fetchNotifications = ({ args, older }) => { return fetchNotifications({ args, older }) } + console.error('Notifications Error', error) useInterfaceStore().pushGlobalNotice({ level: 'error', messageKey: 'notifications.error', messageArgs: [error.message], timeout: 5000, }) - console.error(error) }) .finally(() => { useNotificationsStore().setLoading(false) diff --git a/src/services/timeline_fetcher/timeline_fetcher.service.js b/src/services/timeline_fetcher/timeline_fetcher.service.js index ffb41a6a9..97be25f66 100644 --- a/src/services/timeline_fetcher/timeline_fetcher.service.js +++ b/src/services/timeline_fetcher/timeline_fetcher.service.js @@ -75,6 +75,7 @@ const fetchAndUpdate = ( useInstanceCapabilitiesStore().pleromaPublicFavouritesAvailable = false return } + console.error('Timeline Error', error) useInterfaceStore().pushGlobalNotice({ level: 'error', messageKey: 'timeline.error', diff --git a/src/stores/statuses.js b/src/stores/statuses.js index 9897410a5..935aca224 100644 --- a/src/stores/statuses.js +++ b/src/stores/statuses.js @@ -336,6 +336,7 @@ export const useStatusesStore = defineStore('statuses', { .catch((error) => { optimisticCall(id, oldValue, argument) + console.error('Interact Error', error) useInterfaceStore().pushGlobalNotice({ level: 'error', messageKey: 'status.interact_error',