Va. Code Ann. § 8.01-678
When it plainly appears from the record and the evidence given at the trial that the parties have had a fair trial on the merits and substantial justice has been reached, no judgment shall be arrested or reversed:
Code 1950, § 8-487; 1954, c. 333; 1977, c. 617.