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 --- exceptions.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'exceptions.cpp') diff --git a/exceptions.cpp b/exceptions.cpp index e57b8d09..4dcf01a2 100644 --- a/exceptions.cpp +++ b/exceptions.cpp @@ -32,11 +32,6 @@ BinaryNinja::ExceptionWithStackTrace::ExceptionWithStackTrace(const std::string& if (stackTrace) { m_stackTrace = stackTrace; - if (var) - { - m_message += "\n"; - m_message += stackTrace; - } BNFreeString(stackTrace); } } @@ -97,11 +92,6 @@ BinaryNinja::ExceptionWithStackTrace::ExceptionWithStackTrace(std::exception_ptr if (stackTrace) { m_stackTrace = stackTrace; - if (var) - { - m_message += "\n"; - m_message += stackTrace; - } BNFreeString(stackTrace); } } -- cgit v1.3.1