Merge pull request #427 from matthiasbeyer/libimagrt/no-config-file-warn
Only warn if there is no config file
This commit is contained in:
commit
63dd1ca6f7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue