Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jul 15, 2018
1 parent 847f146 commit a9f24fd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/js/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,13 @@ api.fetchFilterList = function(mainlistURL, onLoad, onError) {
onLoad(details);
};

// https://github.com/AdguardTeam/FiltersRegistry/issues/82
// Not checking for `errored` status was causing repeated notifications
// to the caller. This can happens when more than one out of multiple
// sublists can't be fetched.
var onLocalLoadError = function(details) {
if ( errored ) { return; }

errored = true;
details.url = mainlistURL;
details.content = '';
Expand Down

0 comments on commit a9f24fd

Please sign in to comment.