restore ability to create TOC and CUE files during export. this is an option in a...
[ardour.git] / libs / ardour / session_export.cc
index 7737e952796a8735ff89260fe12f81260ed159da..4f46535a978e88429c8e350a8da13afb1eb1d162 100644 (file)
@@ -178,7 +178,7 @@ Session::process_export (pframes_t nframes)
                ProcessExport (nframes);
 
        } catch (std::exception & e) {
-               std::cout << e.what() << std::endl;
+               error << string_compose (_("Export ended unexpectedly: %1"), e.what()) << endmsg;
                export_status->abort (true);
        }
 }
@@ -222,6 +222,9 @@ Session::finalize_audio_export ()
 
        _engine.freewheel (false);
        export_freewheel_connection.disconnect();
+       
+       /* maybe write CUE/TOC */
+
        export_handler.reset();
        export_status.reset();