mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
log traceback
This commit is contained in:
parent
cd63538522
commit
d7d3d1b376
1 changed files with 4 additions and 2 deletions
|
|
@ -548,8 +548,10 @@ class _IconsCache:
|
|||
pix = QtGui.QPixmap()
|
||||
pix.loadFromData(content)
|
||||
icon = QtGui.QIcon(pix)
|
||||
except Exception as exc:
|
||||
log.warning(f"Failed to download image '{url}'")
|
||||
except Exception:
|
||||
log.warning(
|
||||
f"Failed to download image '{url}'", exc_info=True
|
||||
)
|
||||
icon = None
|
||||
|
||||
elif icon_type == "ayon_url":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue