From 8df034ed6b3a1a52bd268ed43e783c35b687408f Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 28 Jul 2025 20:56:05 -0400 Subject: Add LogForException APIs to pass stack trace information separate from the message --- mainthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mainthread.cpp') diff --git a/mainthread.cpp b/mainthread.cpp index dd503cae..6a0f1321 100644 --- a/mainthread.cpp +++ b/mainthread.cpp @@ -64,7 +64,7 @@ static void ExecuteAction(void* ctxt) } catch (const std::exception& e) { - LogError("Exception in main thread handler: %s", e.what()); + LogErrorForException(e, "Exception in main thread handler: %s", e.what()); fprintf(stderr, "Exception in main thread handler: %s\n", e.what()); abort(); } -- cgit v1.3.1