Fixes #3210: improve debug log when there is an error in Technique

http://www.rudder-project.org/redmine/issues/3210