1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-01 18:32:37 +02:00

Show simple message on aborts

The stack trace is not much help to users, and confusing.
This commit is contained in:
Mitch Bradley
2021-06-11 11:12:51 -10:00
parent 2f6be2b3f5
commit b5ac5eb166

View File

@@ -142,7 +142,7 @@ void run_once() {
protocol_main_loop();
} catch (const AssertionFailed& ex) {
// This means something is terribly broken:
error_all("Critical error in run_once: %s", ex.stackTrace.c_str());
error_all("Critical error in run_once: %s", ex.msg.c_str());
sleep(10000);
throw;
}