Skip to content

Commit

Permalink
Added ReplSetServers in error message regarding supported configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
Alin Dumitru committed Apr 20, 2011
1 parent 9634578 commit d79431c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongodb/db.js
Expand Up @@ -227,7 +227,7 @@ Db.prototype.open = function(callback) {
};
serverConnections.forEach( initServer );
} else {
return callback(Error("Server parameter must be of type Server, ServerPair or ServerCluster"), null);
return callback(Error("Server parameter must be of type Server, ServerPair, ServerCluster or ReplSetServers"), null);
}
};

Expand Down

0 comments on commit d79431c

Please sign in to comment.