[SERVER-65773] Improve MozJS error handling Created: 19/Apr/22  Updated: 29/Oct/23  Resolved: 28/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc4, 6.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Mohammad Dashti (Inactive) Assignee: Mohammad Dashti (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: QE 2022-05-02
Participants:
Linked BF Score: 135

 Description   

Currently, there are some instances of error handling in src/mongo/scripting/mozjs/wraptype.h that can be improved.



 Comments   
Comment by Githook User [ 28/Apr/22 ]

Author:

{'name': 'Mohammad Dashti', 'email': 'mdashti@gmail.com', 'username': 'mdashti'}

Message: SERVER-65773 Improved MozJS error handling

(cherry picked from commit 6808bcf11efcb0b2e1af095093803a61326cb4c6)
Branch: v6.0
https://github.com/mongodb/mongo/commit/4c05fd86070a90e83e008b34f62fc99bc0972621

Comment by Githook User [ 28/Apr/22 ]

Author:

{'name': 'Mohammad Dashti', 'email': 'mdashti@gmail.com', 'username': 'mdashti'}

Message: SERVER-65773 Improved MozJS error handling
Branch: master
https://github.com/mongodb/mongo/commit/6808bcf11efcb0b2e1af095093803a61326cb4c6

Comment by Mohammad Dashti (Inactive) [ 28/Apr/22 ]

steve.la@mongodb.com yes, this regression is introduced after the MozJS upgrade (SERVER-61008), which first appears in 6.0.

Generated at Thu Feb 08 06:03:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.