Print error message returned from validation.

openscholar/openscholar#3192