summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-09-28 11:27:17 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-28 11:28:45 -0500
commit1f88b6d35fcbe9674c82fea26cb2260789f0ed14 (patch)
tree54e58e283f01c6b912d590ebe2a081164ac9a898 /gtk2_ardour/ardour_ui.cc
parent4634801cf1417e7d543ba156e0d426509048cd6c (diff)
make error dump on stderr slightly more obvious
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index fcbb5b4502..d5498a2fc6 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -3608,7 +3608,9 @@ ARDOUR_UI::build_session (const std::string& path, const std::string& snap_name,
}
catch (SessionException e) {
+ cerr << "Here are the errors associated with this failed session:\n";
dump_errors (cerr);
+ cerr << "---------\n";
MessageDialog msg (string_compose(_("Could not create session in \"%1\": %2"), path, e.what()));
msg.set_title (_("Loading Error"));
msg.set_position (Gtk::WIN_POS_CENTER);
@@ -3617,7 +3619,9 @@ ARDOUR_UI::build_session (const std::string& path, const std::string& snap_name,
return -1;
}
catch (...) {
+ cerr << "Here are the errors associated with this failed session:\n";
dump_errors (cerr);
+ cerr << "---------\n";
MessageDialog msg (string_compose(_("Could not create session in \"%1\""), path));
msg.set_title (_("Loading Error"));
msg.set_position (Gtk::WIN_POS_CENTER);