From 47d0377026ba25691f8aa103b1241bda318a4e95 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 16 Jul 2016 00:27:16 +0200 Subject: [PATCH] Print debugging information in debug hook when setting config --- libimagstorestdhook/src/debug.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libimagstorestdhook/src/debug.rs b/libimagstorestdhook/src/debug.rs index 9f7bd63e..ef63b015 100644 --- a/libimagstorestdhook/src/debug.rs +++ b/libimagstorestdhook/src/debug.rs @@ -30,8 +30,9 @@ impl Hook for DebugHook { "stdhook_debug" } - fn set_config(&mut self, _: &Value) { - () // We are not configurable here. + fn set_config(&mut self, c: &Value) { + debug!("Trying to set configuration in debug hook: {:?}", c); + debug!("Ignoring configuration in debug hook, we don't need a config here"); } }