Made change to record candidate errors.