Updated TemplateResolver to add template path information to any encountered SubstitutionException