DOI from failed call in cr_cn is retained.

Now an error keeps a record of what DOI failed.