merge keybindings/menus from SAE; report duplicate port errors during session loading...
[ardour.git] / libs / ardour / session_state.cc
index f4fceb1d91d1575153de7b419fd543ccc7da4e94..03428f6035315ab273a50f11abd1fc9c70989e4a 100644 (file)
@@ -323,11 +323,10 @@ Session::second_stage_init (bool new_session)
        }
 
        /* handle this one in a different way than all others, so that its clear what happened */
-       
+
        catch (AudioEngine::PortRegistrationFailure& err) {
-               error << _("Unable to create all required ports")
-                     << endmsg;
-               return -1;
+               destroy ();
+               throw;
        }
 
        catch (...) {