Better error reporting on failed batch.