projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e94b8b6
)
Less severe error message when there is no config file.
author
Carl Hetherington
<cth@carlh.net>
Thu, 13 Aug 2015 15:09:37 +0000
(16:09 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 13 Aug 2015 15:09:37 +0000
(16:09 +0100)
src/lib/config.cc
patch
|
blob
|
history
diff --git
a/src/lib/config.cc
b/src/lib/config.cc
index cc62bfed3473329e58ac2782ae47a60af6766753..657178eba68eaa5fdb0fea66f08741dd42fbb8a0 100644
(file)
--- a/
src/lib/config.cc
+++ b/
src/lib/config.cc
@@
-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";
}
}