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

Regression in JS error reporting from 4.0

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: JavaScript, Shell
    • None
    • Fully Compatible
    • ALL
    • Dev Tools 2019-03-11
    • 50

      4.0:

      > throw 'asdf';
      2019-02-11T13:12:58.926-0500 E QUERY    [js] uncaught exception: asdf
      > throw 1;
      2019-02-11T13:13:17.958-0500 E QUERY    [js] uncaught exception: 1
      

      master:

      > throw 'asdf';
      2019-02-11T13:13:24.415-0500 E QUERY    [js] Unknown Failure from JSInterpreter
      > throw 1;
      2019-02-11T13:13:25.671-0500 E QUERY    [js] Unknown Failure from JSInterpreter
      

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: