TC: template errors now nicely displayed

No longer throws exception, allowing the user to edit/fix the bad
template