Fix validation exception printing