Fix handling and logging of thumbnail save failures
This commit is contained in:
parent
9311f9974a
commit
0a109bc886
1 changed files with 9 additions and 3 deletions
|
|
@ -341,8 +341,8 @@ class LibraryPanel(Adw.Bin):
|
|||
except client.CommandException:
|
||||
# Exception is handled by client
|
||||
pass
|
||||
except Exception as e:
|
||||
self._logger.exception("Failed to load albumart", e)
|
||||
except Exception:
|
||||
self._logger.exception("Failed to load albumart")
|
||||
if pixbuf is None:
|
||||
icon = self._get_default_icon(self._item_size, self._item_size)
|
||||
grid_item.set_icon(icon)
|
||||
|
|
|
|||
Loading…
Reference in a new issue