-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:MAC OS; Mongodb 3.6.3 and Node.js driver 3.0.4
When the incorrect options is specified on the collection URI a warning is not returned.
In the following example "retryBlah" is not a valid option but it does not return a warning.
MongoClient.connect(“mongodb://localhost:27017,localhost:27018,localhost:27019/?replicaSet=m101&retryBlah=true”, function(err, client) {
Notice that on the output of NewCreateProducts.js there is no warning!
Jeegars-MacBook-Pro:nodejs jeegarg$ node NewCreateProducts.js
Dispatched insert
{ result: { ok: 1, n: 1, opTime:
},