mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-02 02:42:36 +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();
|
protocol_main_loop();
|
||||||
} catch (const AssertionFailed& ex) {
|
} catch (const AssertionFailed& ex) {
|
||||||
// This means something is terribly broken:
|
// 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);
|
sleep(10000);
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user