Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Won't Fix
-
4.4.0
-
None
-
None
-
Triage
-
ALL
Description
Accidentally encountered this while connecting to my Atlas cluster. Essentially if the supplied URI is malformed, the shell fails with the exception: No digits error which does not really articulate what the problem is exactly:
$ mongo "mongodb+srv:/cluster2.fu4ty.mongodb.net/" |
MongoDB shell version v4.4.0
|
exception: No digits
|
exiting with code 1
|
$ mongo "mongo+srv://cluster2.fu4ty.mongodb.net/" |
MongoDB shell version v4.4.0
|
exception: No digits
|
exiting with code 1
|