Only warn if there is no config file
This commit is contained in:
parent
88e9519a00
commit
b4b3a0ede8
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