summaryrefslogtreecommitdiff
path: root/ui/progresstask.h
diff options
context:
space:
mode:
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 (...)
{