Print to stderr when printing error
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>embed
parent
02bfda5eed
commit
fecb66e877
|
@ -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…
Reference in New Issue