mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Rate limiting error message.
This commit is contained in:
parent
90e3036eaf
commit
e4e9b5fa18
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,8 @@ NEWSBLUR.Views.ReaderTaskbarInfo = Backbone.View.extend({
|
|||
} else if (data.status == 503) {
|
||||
message = "NewsBlur is in maintenance mode. <br> Try again soon.";
|
||||
this.show_maintenance_page();
|
||||
} else if (data.status == 429) {
|
||||
message = "You're being rate limited.<br> Try again soon, but not too soon.";
|
||||
}
|
||||
NEWSBLUR.assets.flags['no_more_stories'] = true;
|
||||
NEWSBLUR.app.story_titles.end_loading();
|
||||
|
|
Loading…
Add table
Reference in a new issue