From b5ac5eb166a1bddc5f33026767b4ff2dbf625c1a Mon Sep 17 00:00:00 2001 From: Mitch Bradley Date: Fri, 11 Jun 2021 11:12:51 -1000 Subject: [PATCH] Show simple message on aborts The stack trace is not much help to users, and confusing. --- Grbl_Esp32/src/Grbl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grbl_Esp32/src/Grbl.cpp b/Grbl_Esp32/src/Grbl.cpp index 19e8acdc..c84a0316 100644 --- a/Grbl_Esp32/src/Grbl.cpp +++ b/Grbl_Esp32/src/Grbl.cpp @@ -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; }