add an error catching template