mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +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:
|
||||
self.app_icon = res.load(resource)
|
||||
except Exception:
|
||||
except KeyError:
|
||||
pass
|
||||
else:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user