diff options
author | ThibG <thib@sitedethib.com> | 2020-03-28 17:59:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 17:59:45 +0100 |
commit | 0d117c106aa72f78dd5cdd371849dd8ce3120198 (patch) | |
tree | 756c9a48d18fde716a6f57553a32d5f6e548d2b6 /app/javascript/mastodon/actions/timelines.js | |
parent | 7ddbbdea6d4591e6cfe032a0dd212703776e5bb4 (diff) |
Fix 404 and 410 API errors being silently discarded in WebUI (#13279)
* Fix 404 and 410 API errors being silently discarded in WebUI Fixes #13278 * Return more appropriate error when user replies to a deleted toot * Please CodeClimate * Fix 404/410 errors on fetching account timelines & identity proofs * Refactor error handling * Move error message string to statuses.errors
Diffstat (limited to 'app/javascript/mastodon/actions/timelines.js')
-rw-r--r-- | app/javascript/mastodon/actions/timelines.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/actions/timelines.js b/app/javascript/mastodon/actions/timelines.js index 054668655..cdd2111f8 100644 --- a/app/javascript/mastodon/actions/timelines.js +++ b/app/javascript/mastodon/actions/timelines.js @@ -149,6 +149,7 @@ export function expandTimelineFail(timeline, error, isLoadingMore) { timeline, error, skipLoading: !isLoadingMore, + skipNotFound: timeline.startsWith('account:'), }; }; |