$info is a Status object, but the function logCheckError called
getErrorsArray() on $status (which is an undefined variable), thus it threw an
exception.
Change-Id: I93a52f31134a849e064945b653a13392b2f92d08
It seems that logCheckError() works fine for logging errors, so
I changed any logStatusError() calls into logCheckError() ones.
Change-Id: I4dc6fe0c7ddc10f388f43caa928fefce1a0dac3a