Skip to content

Commit 917b30a

Browse files
Let the user handles or not errors on the master
1 parent 7560550 commit 917b30a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sentinel.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,6 @@ RedisMetaClient.prototype.createMasterClient = function(options) {
466466
var client = RedisSingleClient.createClient(this.master.port, this.master.host, options);
467467
var self = this;
468468
var connection_id = client.connection_id;
469-
client.on('error', function(){});
470469
client.on('end', function(){
471470
for (var i = 0, len = self.masterClients.length; i < len; i++) {
472471
var cl = self.masterClients[i];

0 commit comments

Comments
 (0)