add missing error parameter to xhr error handling
add missing error parameter to xhr error handling

whiteoctober/cordova-plugin-app-version,whiteoctober/cordova-plugin-app-version,whiteoctober/cordova-plugin-app-version