Less severe error message when there is no config file.
authorCarl Hetherington <cth@carlh.net>
Thu, 13 Aug 2015 15:09:37 +0000 (16:09 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 13 Aug 2015 15:09:37 +0000 (16:09 +0100)
src/lib/config.cc

index cc62bfed3473329e58ac2782ae47a60af6766753..657178eba68eaa5fdb0fea66f08741dd42fbb8a0 100644 (file)
@@ -294,9 +294,9 @@ Config::instance ()
                        /* configuration load failed; never mind, just
                           stick with the default.
                        */
-                       cerr << "dcpomatic: failed to load configuration (" << e.what() << ")\n";
+                       cerr << "dcpomatic: warning: configuration did not load (" << e.what() << "); using defaults\n";
                } catch (...) {
-                       cerr << "dcpomatic: failed to load configuration\n";
+                       cerr << "dcpomatic: warning: configuration did not load; using defaults\n";
                }
        }