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

any V8 error during a query from the shell results in "new socket error on query"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.4.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL

    Description

      The v8 shell (and mongoFind) method catch and wrap all (...) exceptions as a "socket error on query message". In many cases, this is incorrect, and we should also bubble up the actual error message if possible with causedBy().

      Also applies to all other mongoXXX operations.

      Attachments

        Activity

          People

            tad Tad Marshall
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: