mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-26 02:35:32 +01:00
Catch exception in exception handling for French user.
This commit is contained in:
parent
bc9a71adf6
commit
bbf7e7ddbb
1 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue