diff options
| author | Teddy Wing | 2018-10-28 01:14:21 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-10-28 01:14:21 +0200 | 
| commit | 62f66f9c547adefdafae44c48cae3713795625f2 (patch) | |
| tree | 31a04dbdb4181431d7d6e610578065b09925cddd /src/parser.rs | |
| parent | 20397f6d11e7fba2731225e03e79b1384f84d761 (diff) | |
| download | dome-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/parser.rs')
| -rw-r--r-- | src/parser.rs | 2 | 
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                              }, | 
