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

Improve error reporting in V8

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.3.2
    • Component/s: JavaScript, Shell
    • None

      There are a bunch of places in v8_db.cpp that catch exceptions and then blindly throw a v8 exception that always just says "socket exception". In some of my testing, this was reporting "socket exception" even on other types of errors. Should be trivial to at least take the error message out of the caught exception and use that instead (this is what we do in spidermonkey).

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: