From fecb66e877e0c6003dd2c9544e27192a4d4fc25f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 17 Jul 2019 19:41:43 +0200 Subject: [PATCH] Print to stderr when printing error Signed-off-by: Matthias Beyer --- ui/src/conf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/conf.rs b/ui/src/conf.rs index 8282fcc4..80e424d6 100644 --- a/ui/src/conf.rs +++ b/ui/src/conf.rs @@ -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 = HashMap::new();