Print errors when rendering froma template