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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user