aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/GpgFrontendApplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/GpgFrontendApplication.cpp')
-rw-r--r--src/ui/GpgFrontendApplication.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/GpgFrontendApplication.cpp b/src/ui/GpgFrontendApplication.cpp
index 5c422f49..6f80f534 100644
--- a/src/ui/GpgFrontendApplication.cpp
+++ b/src/ui/GpgFrontendApplication.cpp
@@ -29,6 +29,7 @@
#include "ui/GpgFrontendApplication.h"
#include <QTextCodec>
+#include <boost/stacktrace.hpp>
#include "GpgFrontendBuildInfo.h"
@@ -77,6 +78,8 @@ bool GpgFrontendApplication::notify(QObject *receiver, QEvent *event) {
app_done = QApplication::notify(receiver, event);
} catch (const std::exception &ex) {
SPDLOG_ERROR("exception caught in notify: {}", ex.what());
+ SPDLOG_ERROR("exception stacktrace: {}",
+ boost::stacktrace::to_string(boost::stacktrace::stacktrace()));
QMessageBox::information(nullptr, _("Standard Exception Thrown"),
_("Oops, an standard exception was thrown "
"during the running of the "