mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 14:59:26 +01:00
add error notice if reddit is down
This commit is contained in:
parent
26dc6be763
commit
ac900088a2
@ -9,6 +9,8 @@ html
|
||||
h2 error
|
||||
p #{JSON.stringify(http_status_code)}
|
||||
p #{JSON.stringify(http_statustext)}
|
||||
if http_status_code == "401" || http_status_code == "503"
|
||||
p This error is probably because Reddit itself is down.
|
||||
else
|
||||
- var subreddit = ''
|
||||
if(user_preferences.subbed_subreddits && Array.isArray(user_preferences.subbed_subreddits))
|
||||
|
Loading…
Reference in New Issue
Block a user