summaryrefslogtreecommitdiff
path: root/ui/progresstask.h
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 /ui/progresstask.h
parent1b2f5c4c8df34d399a8abaff7db5d2338cb90ac1 (diff)
Add LogForException APIs to pass stack trace information separate from the message
Diffstat (limited to 'ui/progresstask.h')
-rw-r--r--ui/progresstask.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/progresstask.h b/ui/progresstask.h
index 6765ec2d..58bfb7d3 100644
--- a/ui/progresstask.h
+++ b/ui/progresstask.h
@@ -352,7 +352,8 @@ class BINARYNINJAUIAPI BackgroundThread : public QObject
// Just print an error and keep going
catch (std::exception& e)
{
- BinaryNinja::LogError("Exception thrown in BackgroundThread::finally(): %s", e.what());
+ BinaryNinja::LogErrorForException(
+ e, "Exception thrown in BackgroundThread::finally(): %s", e.what());
}
catch (...)
{
@@ -413,7 +414,8 @@ class BINARYNINJAUIAPI BackgroundThread : public QObject
// Just print an error and keep going
catch (std::exception& e)
{
- BinaryNinja::LogError("Exception thrown in BackgroundThread::finally(): %s", e.what());
+ BinaryNinja::LogErrorForException(
+ e, "Exception thrown in BackgroundThread::finally(): %s", e.what());
}
catch (...)
{