From d8025b8deae02eab98446b5a21e4b9ddbaf6acee Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 14 May 2022 15:08:39 +0100 Subject: [PATCH] shapelib: Add a trace call for the magic template Signed-off-by: Ian Jackson --- src/shapelib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shapelib.rs b/src/shapelib.rs index 8ff12706..84c25b8d 100644 --- a/src/shapelib.rs +++ b/src/shapelib.rs @@ -1248,6 +1248,8 @@ fn process_files_entry( format!("{}{}", caps.get(1).unwrap().as_str(), &image_table) }); + trace!("magic item {}\n\n{}\n", &item_name, &spec); + let spec: Box = toml_de::from_str(&spec) .map_err(|error| LLE::TemplatedTomlError { toml: spec.into_owned(), -- 2.30.2