Remove annoying error messages lole

This commit is contained in:
Zero 2022-01-05 11:32:03 -05:00
parent 51cb9b5c8f
commit 387958c7f1
4 changed files with 21 additions and 18 deletions

View File

@ -0,0 +1,19 @@
diff --git a/src/services/notifications_fetcher/notifications_fetcher.service.js b/src/services/notifications_fetcher/notifications_fetcher.service.js
index f83f871e0..bd0189994 100644
--- a/src/services/notifications_fetcher/notifications_fetcher.service.js
+++ b/src/services/notifications_fetcher/notifications_fetcher.service.js
@@ -56,14 +56,6 @@ const fetchNotifications = ({ store, args, older }) => {
update({ store, notifications, older })
return notifications
})
- .catch((error) => {
- store.dispatch('pushGlobalNotice', {
- level: 'error',
- messageKey: 'notifications.error',
- messageArgs: [error.message],
- timeout: 5000
- })
- })
}
const startFetching = ({ credentials, store }) => {

View File

@ -139,7 +139,7 @@
},
"notifications": {
"broken_favorite": "Unknown status, searching for it…",
"error": "Error fetching notifications: {0}",
"error": "Error fetching notifications",
"favorited_you": "favorited your status",
"followed_you": "followed you",
"follow_request": "wants to follow you",
@ -676,7 +676,7 @@
"timeline": {
"collapse": "Collapse",
"conversation": "Conversation",
"error": "Error fetching timeline: {0}",
"error": "Error loading status",
"load_older": "Load older statuses",
"no_retweet_hint": "Post is marked as followers-only or direct and cannot be repeated",
"repeated": "repeated",

View File

@ -56,14 +56,6 @@ const fetchNotifications = ({ store, args, older }) => {
update({ store, notifications, older })
return notifications
})
.catch((error) => {
store.dispatch('pushGlobalNotice', {
level: 'error',
messageKey: 'notifications.error',
messageArgs: [error.message],
timeout: 5000
})
})
}
const startFetching = ({ credentials, store }) => {

View File

@ -65,14 +65,6 @@ const fetchAndUpdate = ({
update({ store, statuses, timeline, showImmediately, userId, pagination })
return { statuses, pagination }
})
.catch((error) => {
store.dispatch('pushGlobalNotice', {
level: 'error',
messageKey: 'timeline.error',
messageArgs: [error.message],
timeout: 5000
})
})
}
const startFetching = ({ timeline = 'friends', credentials, store, userId = false, tag = false }) => {