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

Suppress javascript callstacks from interactive shell

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: