Merge pull request #1417 from matthiasbeyer/libimagrt/suggest-imag-init
Suggest imag-init if no config is found
This commit is contained in:
commit
d08a5ab536
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) {
|
||||
return Err(e).chain_err(|| RuntimeErrorKind::Instantiate);
|
||||
} else {
|
||||
println!("No config file found.");
|
||||
println!("Continuing without configuration file");
|
||||
eprintln!("No config file found.");
|
||||
eprintln!("Maybe try to use 'imag-init' to initialize imag?");
|
||||
eprintln!("Continuing without configuration file");
|
||||
None
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue