debug any failure

This commit is contained in:
Girish Ramakrishnan
2015-11-04 14:28:22 -08:00
parent 03ec940352
commit ccde1e51ad

View File

@@ -412,7 +412,11 @@ function addDnsRecords() {
async.eachSeries(records, function (record, iteratorCallback) {
subdomains.update(record.subdomain, record.type, record.values, iteratorCallback);
}, retryCallback);
}, function (error) {
if (error) debug('addDnsRecords: failed to update : %s. will retry', error);
retryCallback(error);
});
});
}, function (error) {
gUpdatingDns = false;