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