aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-01 14:42:26 +0100
committerTeddy Wing2018-11-01 14:42:26 +0100
commit6191caedd26752b6e699451bd602649f6f1200a1 (patch)
tree2f1fb7180185830885d555af72ca83bbb2493886
parent1865e7f4beb72b333208b052dc03f214917ce4b4 (diff)
downloaddome-key-map-6191caedd26752b6e699451bd602649f6f1200a1.tar.bz2
dome_key_state_load_map_group(): Print filename where parse error occurs
Instead of just printing the parse error, also print the mappings file name to context about where the error comes from.
-rw-r--r--src/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 92774ef..f8a95c2 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -78,7 +78,7 @@ pub extern "C" fn dome_key_state_load_map_group(ptr: *mut State) {
Some(map_group)
},
Err(e) => {
- error!("{}", e);
+ error!("In 'mappings.dkmap': {}", e);
None
},
};