debug output the changeIds
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user