Do not print to stderr when parsing the toml file succeeded

This commit is contained in:
Seiichi Uchida 2017-12-12 14:10:31 +09:00
parent 30abfd65a2
commit 7229b26f14

View File

@ -404,7 +404,9 @@ macro_rules! create_config {
}
match parsed.try_into() {
Ok(parsed_config) => {
eprintln!("{}", err);
if !err.is_empty() {
eprint!("{}", err);
}
Ok(Config::default().fill_from_parsed_config(parsed_config))
}
Err(e) => {