aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2018-10-28 01:14:21 +0200
committerTeddy Wing2018-10-28 01:14:21 +0200
commit62f66f9c547adefdafae44c48cae3713795625f2 (patch)
tree31a04dbdb4181431d7d6e610578065b09925cddd /src
parent20397f6d11e7fba2731225e03e79b1384f84d761 (diff)
downloaddome-key-map-62f66f9c547adefdafae44c48cae3713795625f2.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/parser.rs2
1 files changed, 1 insertions, 1 deletions
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
},