If encounter an exception while processing, now note error in output.