Preparing shadow damage base

Enemy pandoran assaults a phoenix base.
During attack, only one Bane Champion remains (shadow spawning type).
I kill Bane Champion, and shadow shows “preparing…”, but the mission is ended with popup screen.
At geoscape, instead of successfully repelling enemy attack, it shows that base has suffered serious damage… because of the “preparing…” shadow???