make sure we know an error occoured