handle value exception

This commit is contained in:
folkert van heusden 2024-06-12 08:19:44 +02:00
parent 8acbc79e88
commit 1d82b94cc9
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -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");
}