[SERVER-46359] JavaScript stack traces generated by the shell should print as text, not json Created: 24/Feb/20  Updated: 29/Oct/23  Resolved: 27/Feb/20

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 4.3.4

Type: Bug Priority: Major - P3
Reporter: Andy Schwerin Assignee: Henrik Edin
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 46

 Description   

Under the new json logging system, stack traces produced by javascript exceptions currently print as json messages with the string representing the stack trace encoded in the json message. Instead, such stack traces should print as they did prior to json logging.



 Comments   
Comment by Githook User [ 27/Feb/20 ]

Author:

{'username': 'henrikedin', 'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com'}

Message: SERVER-46359 Fix js_exceptions.js
Branch: master
https://github.com/mongodb/mongo/commit/b2bb338e99292dc4a266f4915fe8671de4e5fa70

Comment by Githook User [ 25/Feb/20 ]

Author:

{'username': 'henrikedin', 'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com'}

Message: SERVER-46359 Log javascript stack traces in plain text in the shell.
Branch: master
https://github.com/mongodb/mongo/commit/fe0e48dce3e8b5248b3f3c675749d488b484938b

Generated at Thu Feb 08 05:11:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.