Print to stderr when printing error

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
embed
Matthias Beyer 2019-07-17 19:41:43 +02:00 committed by Manos Pitsidianakis
parent 02bfda5eed
commit fecb66e877
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ impl FileSettings {
impl Settings {
pub fn new() -> Settings {
let fs = FileSettings::new().unwrap_or_else(|e| {
println!("Configuration error: {}", e);
eprintln!("Configuration error: {}", e);
std::process::exit(1);
});
let mut s: HashMap<String, AccountConf> = HashMap::new();