1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 22:05:09 +01:00

Catch case where favicon could not be saved

This commit is contained in:
2017-01-16 11:38:43 +01:00
parent 63dd636c25
commit 2e9457ee1a

View File

@@ -446,7 +446,11 @@ def updatebookmark(userkey, request, urlhash = None):
bookmark.set_status_code()
if bookmark.http_status == 200:
bookmark.set_favicon()
try:
bookmark.set_favicon()
except IOError:
# Icon file could not be saved possibly, don't bail completely
pass
bookmark.save()
return bookmark