Added console.error for when a template isn't found