From 9a25c9d6f785e34e267a61fff0ac33ac8ae3ec93 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Thu, 19 Nov 2020 11:01:31 -0600 Subject: [PATCH] Warn, not crash on when cover_min_size fails. --- fanficfare/story.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanficfare/story.py b/fanficfare/story.py index aa63b184..23e1b064 100644 --- a/fanficfare/story.py +++ b/fanficfare/story.py @@ -1300,7 +1300,7 @@ class Story(Configurable): cover_big_enough = owidth >= sizes[0] and oheight >= sizes[1] # logger.debug("cover_big_enough:%s %s>=%s, %s>=%s"%(cover_big_enough,owidth,sizes[0],oheight,sizes[1])) except Exception as e: - raise exceptions.FailedToDownload("Failed to process cover_min_size from personal.ini:%s\nException: %s"%(self.getConfigList('cover_min_size'),e)) + logger.warning("Failed to process cover_min_size from personal.ini:%s\nException: %s"%(self.getConfigList('cover_min_size'),e)) # explicit cover, make the first image. if cover and cover_big_enough: