Closed jan-cerny closed 8 years ago
Isn't that a good thing that it fails to start with invalid config?
I agree with @mpreisler. People don't have reason to check journal of running daemon and they can use configuration which they don't want, when we ignore config errors. I personally prefer to have some nice error message and stop daemon if configuration is invalid.
@mpreisler I would prefer @ybznek 's solution: If configuration file is invalid, print a nice error message and stop the deamon.
@mpreisler Thanks!
This commit catches an exception that appears if a wrong configuration file is provided. The exception causes that daemon fails to start.