summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/dcpomatic.cc')
-rw-r--r--src/tools/dcpomatic.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 47851a218..d50604740 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -450,6 +450,11 @@ public:
catch (std::exception& e) {
wxString p = std_to_wx (file.string ());
wxCharBuffer b = p.ToUTF8 ();
+ boost::stacktrace::stacktrace* st = boost::get_error_info<traced>(e);
+ std::cout << "Amiga!\n";
+ if (st) {
+ std::cout << "Awooga! " << *st << "\n";
+ }
error_dialog (this, wxString::Format (_("Could not open film at %s"), p.data()), std_to_wx (e.what()));
}
@@ -1683,6 +1688,11 @@ private:
)
);
} catch (exception& e) {
+ boost::stacktrace::stacktrace* st = boost::get_error_info<traced>(e);
+ std::cout << "Amiga!\n";
+ if (st) {
+ std::cout << "Awooga! " << *st << "\n";
+ }
error_dialog (
0,
wxString::Format (