diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 66682b9c..87de0788 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -681,8 +681,11 @@ impl Store { fn get_config_for_hook(&self, name: &str) -> Option<&Value> { match self.configuration { Some(Value::Table(ref tabl)) => { + debug!("Trying to head 'hooks' section from {:?}", tabl); tabl.get("hooks") .map(|hook_section| { + debug!("Found hook section: {:?}", hook_section); + debug!("Reading section key: {:?}", name); match *hook_section { Value::Table(ref tabl) => tabl.get(name), _ => None