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

Better error message for "no database" from listIndexes

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • Sprint:
      Storage 2017-05-08, Storage 2017-05-29

      Description

      There should be a better error message that includes what database doesn't exist, and be clear that the error is that the requested database doesn't exist. Something like "Database doesn't exist: databaseName" instead of just "no database". I was told the server is the right place for this rather than the driver: https://jira.mongodb.org/browse/NODE-648

      Related to: https://jira.mongodb.org/browse/NODE-595

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: