Report correct error message when lambda body contains common error later than at first error hit