Skip to content

Commit

Permalink
IV: check for 404 and 500 for subscriptions (#4410)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunkyProgrammer authored Dec 1, 2023
1 parent 138f0c1 commit a67541e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export default defineComponent({
try {
const response = await fetch(feedUrl)

if (response.status === 500) {
if (response.status === 500 || response.status === 404) {
return []
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export default defineComponent({
try {
const response = await fetch(feedUrl)

if (response.status === 500) {
if (response.status === 500 || response.status === 404) {
return []
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export default defineComponent({
try {
const response = await fetch(feedUrl)

if (response.status === 500) {
if (response.status === 500 || response.status === 404) {
this.errorChannels.push(channel)
return []
}
Expand Down

0 comments on commit a67541e

Please sign in to comment.