Catch exception in exception handling for French user.

This commit is contained in:
Jim Miller 2020-05-15 11:19:36 -05:00
parent bc9a71adf6
commit bbf7e7ddbb

View file

@ -1236,7 +1236,10 @@ class Story(Configurable):
imgtype,
background="#"+bgcolor)
except Exception as e:
logger.info("Failed to load or convert image, \nparent:%s\nskipping:%s\nException: %s"%(parenturl,imgurl,e))
try:
logger.info("Failed to load or convert image, \nparent:%s\nskipping:%s\nException: %s"%(parenturl,imgurl,e))
except:
logger.info("Failed to load or convert image, \nparent:%s\nskipping:%s\n(Exception output also caused exception)"%(parenturl,imgurl))
return ("failedtoload","failedtoload")
# explicit cover, make the first image.