[SERVER-39496] Regression in JS error reporting from 4.0 Created: 11/Feb/19  Updated: 29/Oct/23  Resolved: 04/Mar/19

Status: Closed
Project: Core Server
Component/s: JavaScript, Shell
Affects Version/s: None
Fix Version/s: 4.1.9

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Gabriel Russell (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Tools 2019-03-11
Participants:
Linked BF Score: 50

 Description   

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



 Comments   
Comment by Githook User [ 04/Mar/19 ]

Author:

{'name': 'Gabriel Russell', 'username': 'gabrielrussell', 'email': 'gabriel.russell@mongodb.com'}

Message: SERVER-39496 expose non-object exceptions
Branch: master
https://github.com/mongodb/mongo/commit/5b3f8698bf1398566b2d24fc12518fbddc2181be

Generated at Thu Feb 08 04:52:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.