Catch the exception in logic of finding templates.