From bec7453295a2d37ac1d4dd6eebb6f273c460e39b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 17 Jul 2019 19:40:06 +0200 Subject: 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 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 = HashMap::new(); -- cgit v1.2.3