[SERVER-54026] Mongo shell does not retain error code when generating JavaScript exception Created: 25/Jan/21 Updated: 19/Jun/23 Resolved: 19/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ali Mir | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | sdp-backlog-purge | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Server Development Platform
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 20 | ||||||||||||||||
| Description |
|
BF-19854 seems to have failed because an error thrown by the mongo shell does not contain an error code (the error is thrown here, and we check for the error code explicitly here). It looks like we only preserve the errmsg here. We should be including the error code as well. As a temporary fix for the BF, we filed Assigning this to STM, as I'm under the impression that the shell is owned by them. Feel free to reassign if it makes sense! |
| Comments |
| Comment by Alex Neben [ 19/Jun/23 ] |
|
This has been identified as work that the SDP team won't do in the near term. Please reopen with a comment if you feel this work should be reprioritized and explain why. |
| Comment by Steven Vannelli [ 10/May/22 ] |
|
Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions. |
| Comment by Brooke Miller [ 26/Jan/21 ] |
|
We've deiced to put this on STM's backlog for now. If replication would like to get to this sooner, please feel free to re-assign it. |