This commit is contained in:
Johannes Zellner
2020-06-04 12:59:27 +02:00
parent 07b95c2c4b
commit c143450dc6
+10 -2
View File
@@ -368,9 +368,17 @@ function sync(progressCallback, callback) {
debug(`Found ${ldapGroups.length} groups`);
debug('sync: ldap sync is done', error);
// we ignore all errors here and just log them for now
async.eachSeries(ldapGroups, function (group, iteratorCallback) {
console.log(group);
iteratorCallback();
}, function (error) {
if (error) return callback(error);
callback(error);
debug('sync: ldap sync is done', error);
callback(error);
});
});
});
});