Error messages showing bson type mismatches should print the type name (and number)

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For example:

      > rs.reconfig(conf);
      {
          "errmsg" : "exception: bad config for member[0] wrong type for field (mem) 1 != 2",
          "code" : 13135,
          "ok" : 0
      }
      

              Assignee:
              Unassigned
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: