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

Add extra fields to getLastError output on duplicate key error

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Usability
    • Labels:
      None

      Description

      Should at least have field name and duplicated value.

      See http://stackoverflow.com/questions/5939720/better-ways-to-handle-mongodb-exceptions

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                20 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated: