Skip to content

Commit fc1f4b5

Browse files
removed error callback if mapping update fails
1 parent dfe5322 commit fc1f4b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/esConnector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ ESConnector.prototype.connect = function (callback) {
134134
})
135135
.catch(function (err) {
136136
log('ESConnector.prototype.connect', 'setupMappings', 'failed', err);
137-
callback && callback(err);
137+
callback && callback(null, self.db);
138138
});
139139
} else {
140140
process.nextTick(function () {

0 commit comments

Comments
 (0)