Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13311

Bad error messages for invalid number in YAML config

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.1
    • None
    • Admin
    • None
    • ALL
    • Server 2.7.1

    Description

      $ cat config.yaml
      { net.port : "a" }
      $ ./mongod -f config.yaml
      Bad digit
      try './mongod --help' for more information

      Should at least print what option is the problem.

      Attachments

        Activity

          People

            sverch Shaun Verch
            sverch Shaun Verch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: