Print to stderr when printing error

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
pull/234/head
Matthias Beyer 5 years ago committed by Manos Pitsidianakis
parent 02bfda5eed
commit fecb66e877
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -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();

Loading…
Cancel
Save