Make sure we always print a log error if validation fails.