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

Suppress javascript callstacks from interactive shell

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • Shell
    • None

    Description

      In 2.7 we added more descriptive callstacks when javascript exceptions propagate up to the top javascript level. This helped with debugging javascript scripts run by the shell, such as jstests run by the testing framework.

      Unfortunately, interactive shell use also now generates these backtraces, even though they are of little use to interactive users. We should specifically suppress these callstacks in the shell's read-eval-print-loop.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: