Skip to content

Commit bedcfb5

Browse files
authored
fix: adding debug log on cluster.slots initial connection error
1 parent 2ed6414 commit bedcfb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/cluster/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,7 @@ class Cluster extends Commander {
881881
timeout((err: Error, result) => {
882882
duplicatedConnection.disconnect();
883883
if (err) {
884+
debug("error encountered running CLUSTER.SLOTS: %s", err);
884885
return callback(err);
885886
}
886887
if (

0 commit comments

Comments
 (0)