Alter the error message when an error list is put in an error list

This commit is contained in:
Clayton Coleman 2014-11-06 21:08:15 -05:00
parent 74c7914f7e
commit a68a493e4b

View File

@ -140,7 +140,7 @@ func (list ValidationErrorList) Prefix(prefix string) ValidationErrorList {
} }
list[i] = err list[i] = err
} else { } else {
glog.Warningf("ValidationErrorList holds non-ValidationError: %T", list) glog.Warningf("Programmer error: ValidationErrorList holds non-ValidationError: %#v", list[i])
} }
} }
return list return list