--tls etc. don’t work with --nodb (improve error message)

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Connectivity
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2
    • None

      $> mongosh --port 33333 --nodb
      Current Mongosh Log ID:	628e3eff0944390ac6f4e3cc
      Using Mongosh:		1.4.1
      
      $> mongosh --port 33333 --tls --nodb 
      MongoParseError: Invalid connection string ""
      

      We should at least provide better error messages in this case.

              Assignee:
              Unassigned
              Reporter:
              Anna Henningsen
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: