-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Embedded Shell
-
None
-
Iteration Athens
-
Not Needed
Problem Description
Started with port number but missing --port
Got unspecified error:
arg.startsWith is not a function
Steps to Reproduce
ericsommer@~> mongosh aaa
Current Mongosh Log ID: 6087da636c2bf4f352d07f84
Connecting to: mongodb://127.0.0.1:27017/aaa?directConnection=true&serverSelectionTimeoutMS=2000
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017
ericsommer@~> mongosh 44441
TypeError: arg.startsWith is not a function
Expected Results
More intuitive error
Actual Results