From 62f66f9c547adefdafae44c48cae3713795625f2 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 28 Oct 2018 01:14:21 +0200 Subject: MapAction::parse(): Use `error!` instead of `dkeprintln!` to log error Seemed to make more sense as it will be printed to the daemon's stderr log when reloading mappings. --- src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/parser.rs b/src/parser.rs index b01b242..1ad5fd0 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -140,7 +140,7 @@ impl MapAction { { Ok(a) => Some(a), Err(e) => { - dkeprintln!("{}", e); + error!("{}", e); None }, -- cgit v1.2.3