diff runner/main.cpp @ 24:18c42fbc1335

* Various fixes: ensure CSV feature writer closes files when finished with (rather than at end of run) to avoid running out of fds; bail properly with an exception with CSV writer can't write to output file; and other minor things
author Chris Cannam
date Tue, 08 Sep 2009 16:51:24 +0000
parents 4ab7c925f7ac
children 102bb1729184
line wrap: on
line diff
--- a/runner/main.cpp	Tue Jul 07 11:49:56 2009 +0000
+++ b/runner/main.cpp	Tue Sep 08 16:51:24 2009 +0000
@@ -728,6 +728,8 @@
         } catch (const std::exception &e) {
             cerr << "ERROR: Failed to process file \"" << i->toStdString()
                  << "\": " << e.what() << endl;
+            cerr << "NOTE: If you want to continue with processing any further files after an" << endl
+                 << "error like this, use the --force option" << endl;
             if (force) {
                 // print a note only if we have more files to process
                 QStringList::const_iterator j = i;