"collection already exists" error misses code

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Creating a duplicate collection is a common error cases that needs a comparison to differentiate real errors from expected behavior, and unfortunately it misses a code at the moment:

      [LOG] 37.79905 Socket 0xf84014d540 to localhost:54424: received document: bson.M

      {"ok":0, "errmsg":"collection already exists"}

            Assignee:
            Kyle Suarez (Inactive)
            Reporter:
            Gustavo Niemeyer
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: