From 33771f39034ee748b308605678b6902e6f5e5d79 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 16 Jul 2016 00:27:54 +0200 Subject: [PATCH] Add debugging output when setting hook configuration --- libimagstore/src/store.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 542ae5cd..66682b9c 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -666,7 +666,9 @@ impl Store { for mut aspect in guard.deref_mut() { if aspect.name().clone() == aspect_name.clone() { + debug!("Trying to find configuration for hook: {:?}", h); self.get_config_for_hook(h.name()).map(|config| h.set_config(config)); + debug!("Trying to register hook in aspect: {:?} <- {:?}", aspect, h); aspect.register_hook(h); return Ok(()); }