This answer is not correct. This is not an unreasonable answer in that it is formed during the mechanism of the reaction. The reaction proceeds on to form the amide because there is a leaving group (admittedly, kind of a bad one) and the end product...the amide...will have good resonance stability.