Simplify printErrors.