summaryrefslogtreecommitdiff
path: root/exceptions.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2025-07-28 20:56:05 -0400
committerRusty Wagner <rusty.wagner@gmail.com>2025-08-01 14:35:04 -0400
commit8df034ed6b3a1a52bd268ed43e783c35b687408f (patch)
treecaa89977dfffe302514489b96b6cda1765f0af2b /exceptions.cpp
parent1b2f5c4c8df34d399a8abaff7db5d2338cb90ac1 (diff)
Add LogForException APIs to pass stack trace information separate from the message
Diffstat (limited to 'exceptions.cpp')
-rw-r--r--exceptions.cpp10
1 files changed, 0 insertions, 10 deletions
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);
}
}