Add attributeName to userInfo of error