Include the validation output in the error message for modifyObject
Stupid name renamed