mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-19 05:58:09 +00:00
fix(core): handle uncaught exceptions from main.py
[no changelog]
This commit is contained in:
parent
5dc193a552
commit
3c7a6dd68a
@ -219,6 +219,9 @@ int main(void) {
|
||||
printf("CORE: Main script finished, cleaning up\n");
|
||||
mp_deinit();
|
||||
|
||||
// Python code shouldn't ever exit, avoid black screen if it does
|
||||
error_shutdown("INTERNAL ERROR", "(PE)");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user