mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 03:50:58 +00:00
core/webauthn: Specify the exception raised by res.load().
This commit is contained in:
parent
790178a442
commit
7c39e2f142
@ -31,7 +31,7 @@ class ConfirmInfo:
|
|||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
self.app_icon = res.load(resource)
|
self.app_icon = res.load(resource)
|
||||||
except Exception:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user