Finding a mistake in a trial is only the first step of a criminal appeal. The appellate court also has to decide whether the mistake mattered. If it didn't affect the outcome, the court calls it harmless and the conviction stands. How hard that test is to meet depends mostly on one thing: whether the issue was raised at trial.
Errors that were objected to at trial
Constitutional errors. If the error violated a constitutional right, the conviction is reversed unless the Commonwealth shows the error was harmless beyond a reasonable doubt.
Other errors. If the error wasn't constitutional, such as a mistaken evidentiary ruling, the question is whether it was prejudicial. The conviction is reversed unless the court is sure the error didn't influence the jury, or had only a very slight effect.
Errors that weren't objected to
If no one objected at trial, the court reviews for a substantial risk of a miscarriage of justice. That means asking whether it has a serious doubt that the result might have been different without the error. It's a much harder standard for a defendant to meet.
Special cases
In first-degree murder cases, the Supreme Judicial Court reviews the whole case under a special statute and can order relief even for errors that weren't preserved. And a small number of errors, such as a complete denial of the right to counsel, are treated as so fundamental that they aren't analyzed for harmlessness at all.
Why it matters
The difference between these standards is why objecting at trial matters so much. When trial counsel fails to object, the issue can sometimes be raised as ineffective assistance of counsel, often through a motion for a new trial. Those claims have their own demanding tests.
If you're considering an appeal, the first questions are what went wrong and how it was preserved. Contact me and I'll review the record with you.