1
0
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:
matejcik 2019-11-04 15:34:00 +01:00 committed by matejcik
parent 7cb125d1cb
commit 5ffa395dec

View File

@ -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__)