set errored state when error encountered in ingest