Don't update data structure on errors.