debug output the changeIds

This commit is contained in:
Girish Ramakrishnan
2015-11-19 17:49:20 -08:00
parent e06f3d4180
commit 5c9abfe97a

View File

@@ -413,10 +413,11 @@ function addDnsRecords() {
debug('addDnsRecords: will update %j', records);
async.eachSeries(records, function (record, iteratorCallback) {
async.mapSeries(records, function (record, iteratorCallback) {
subdomains.update(record.subdomain, record.type, record.values, iteratorCallback);
}, function (error) {
}, function (error, changeIds) {
if (error) debug('addDnsRecords: failed to update : %s. will retry', error);
else debug('addDnsRecords: records %j added with changeIds %j', records, changeIds);
retryCallback(error);
});