I think this was not the case. The following relevant code line is the for loop conditioned on !error. Thus, the for loop never was executed in this case. A similar pattern is above these lines, but here the error value is indeed overwritten.