Merge pull request #427 from matthiasbeyer/libimagrt/no-config-file-warn

Only warn if there is no config file
This commit is contained in:
Matthias Beyer 2016-05-23 16:42:12 +02:00
commit 63dd1ca6f7

View file

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