From: Ian Jackson Date: Sat, 14 May 2022 14:08:39 +0000 (+0100) Subject: shapelib: Add a trace call for the magic template X-Git-Tag: otter-1.1.0~187 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d8025b8deae02eab98446b5a21e4b9ddbaf6acee;p=otter.git shapelib: Add a trace call for the magic template Signed-off-by: Ian Jackson --- 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(),