Merge pull request #543 from matthiasbeyer/libimagstorestdhook/debugging-hook-output
Print debugging information in debug hook when setting config
This commit is contained in:
commit
eb3eac422d
1 changed files with 3 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue