Only warn if there is no config file

This commit is contained in:
Matthias Beyer 2016-04-22 15:06:44 +02:00
parent 88e9519a00
commit b4b3a0ede8

View file

@ -75,7 +75,8 @@ impl<'a> Runtime<'a> {
let cause : Option<Box<Error>> = Some(Box::new(e)); let cause : Option<Box<Error>> = Some(Box::new(e));
return Err(RuntimeError::new(RuntimeErrorKind::Instantiate, cause)); return Err(RuntimeError::new(RuntimeErrorKind::Instantiate, cause));
} else { } else {
trace_error(&e); warn!("No config file found.");
warn!("Continuing without configuration file");
None None
}, },