diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-07-17 19:40:06 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-07-17 19:40:06 +0200 |
commit | bec7453295a2d37ac1d4dd6eebb6f273c460e39b (patch) | |
tree | 88f0a9f4a99c3f6f150cb98c4e8d7abd9923d12b | |
parent | d32b5d73f74a91bdff2da55d709a4504c5067857 (diff) |
Print to stderr when printing error
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | ui/src/conf.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/conf.rs b/ui/src/conf.rs index 534168af..56539ed0 100644 --- a/ui/src/conf.rs +++ b/ui/src/conf.rs @@ -286,7 +286,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(); |