[Factory] Improve logging when hook validation fails
Merge pull request #4 from widop/f-log

[Factory] Improve logging when hook validation fails