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

Add extra fields to getLastError output on duplicate key error

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Index Maintenance
    • 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

              backlog-server-execution Backlog - Storage Execution Team
              mathias@mongodb.com Mathias Stearn
              Votes:
              21 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: