mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
core: catch more exceptions for the purpose of halting
This commit is contained in:
parent
7cb125d1cb
commit
5ffa395dec
@ -42,7 +42,7 @@ async def bootscreen() -> None:
|
||||
except (OSError, PinCancelled, SdProtectCancelled) as e:
|
||||
if __debug__:
|
||||
log.exception(__name__, e)
|
||||
except Exception as e:
|
||||
except BaseException as e:
|
||||
utils.halt(e.__class__.__name__)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user