Suggest imag-init if no config is found
This commit is contained in:
parent
bed49b6ece
commit
808689cc05
1 changed files with 3 additions and 2 deletions
|
@ -79,8 +79,9 @@ impl<'a> Runtime<'a> {
|
||||||
Err(e) => if !is_match!(e.kind(), &RuntimeErrorKind::ConfigNoConfigFileFound) {
|
Err(e) => if !is_match!(e.kind(), &RuntimeErrorKind::ConfigNoConfigFileFound) {
|
||||||
return Err(e).chain_err(|| RuntimeErrorKind::Instantiate);
|
return Err(e).chain_err(|| RuntimeErrorKind::Instantiate);
|
||||||
} else {
|
} else {
|
||||||
println!("No config file found.");
|
eprintln!("No config file found.");
|
||||||
println!("Continuing without configuration file");
|
eprintln!("Maybe try to use 'imag-init' to initialize imag?");
|
||||||
|
eprintln!("Continuing without configuration file");
|
||||||
None
|
None
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue