From 6191caedd26752b6e699451bd602649f6f1200a1 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 1 Nov 2018 14:42:26 +0100 Subject: 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. --- src/ffi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, }; -- cgit v1.2.3