make error dump on stderr slightly more obvious
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 28 Sep 2016 16:27:17 +0000 (11:27 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 28 Sep 2016 16:28:45 +0000 (11:28 -0500)
gtk2_ardour/ardour_ui.cc

index fcbb5b45028c770d912b6a6e49171f266a45ad85..d5498a2fc69c728755a650e9883cd4a0478a5a27 100644 (file)
@@ -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);