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

Bad error messages for invalid number in YAML config

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.1
    • Component/s: Admin
    • Labels:
      None
    • Operating System:
      ALL
    • Sprint:
      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

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

              Dates

              Created:
              Updated:
              Resolved: