mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
core: do not catch SystemExit in handle_session (#826)
This commit is contained in:
parent
94b85efba1
commit
d3b88a37be
@ -409,7 +409,7 @@ async def handle_session(iface: WireInterface, session_id: int) -> None:
|
||||
# Unload modules imported by the workflow. Should not raise.
|
||||
utils.unimport_end(modules)
|
||||
|
||||
except BaseException as exc:
|
||||
except Exception as exc:
|
||||
# The session handling should never exit, just log and continue.
|
||||
if __debug__:
|
||||
log.exception(__name__, exc)
|
||||
|
Loading…
Reference in New Issue
Block a user