Skip to content

Commit

Permalink
feat: add debug logs for resolved sentinel nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Apr 16, 2017
1 parent 286a5bc commit 8f3d3f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/connectors/sentinel_connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ SentinelConnector.prototype.connect = function (callback, eventEmitter) {
return;
}
if (resolved) {
debug('resolved: %s:%s', resolved.host, resolved.port);
_this.stream = net.createConnection(resolved);
callback(null, _this.stream);
} else if (err) {
Expand Down

0 comments on commit 8f3d3f7

Please sign in to comment.