handle value exception
This commit is contained in:
parent
8acbc79e88
commit
1d82b94cc9
1 changed files with 3 additions and 0 deletions
|
@ -148,6 +148,9 @@ void console_esp32::panel_update_thread()
|
|||
catch(std::exception & e) {
|
||||
put_string_lf(format("Exception in panel thread: %s", e.what()));
|
||||
}
|
||||
catch(int e) {
|
||||
put_string_lf(format("Exception in panel thread: %d", e));
|
||||
}
|
||||
catch(...) {
|
||||
put_string_lf("Unknown exception in panel thread");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue