diff --git a/resources/recipes/economist_free.recipe b/resources/recipes/economist_free.recipe index 217b033b81..0a98c7da28 100644 --- a/resources/recipes/economist_free.recipe +++ b/resources/recipes/economist_free.recipe @@ -53,6 +53,8 @@ class Economist(BasicNewsRecipe): self.feed_dict.items()]) def eco_sort_sections(self, feeds): + if not feeds: + raise ValueError('No new articles found') order = { 'The World This Week': 1, 'Leaders': 2,