[COMPASS-5919] Syntax errors are not serialized correctly in embedded shell Created: 24/Jun/22 Updated: 11/Dec/23 Resolved: 06/Dec/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Embedded Shell |
| Affects Version/s: | None |
| Fix Version/s: | 1.41.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sergey Petushkov | Assignee: | Bailey Pearson |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: |
||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Story Points: | 3 | ||||||||||||||||
| Quarter: | FY24Q4 | ||||||||||||||||
| Documentation Changes: | Not Needed | ||||||||||||||||
| Sprint: | Iteration Nodosaurus, Iteration Pterodactyl, Iteration Qantassaurus | ||||||||||||||||
| Description |
|
Seems like node-runtime can't serialize syntax errors correctly leading to them looking like this in the embedded shell: Instead of this: |
| Comments |
| Comment by Githook User [ 11/Dec/23 ] |
|
Author: {'name': 'Bailey Pearson', 'email': 'bailey.pearson@mongodb.com', 'username': 'baileympearson'}Message: fix(node-runtime-worker-thread): remove function properties before serializing errors |
| Comment by Githook User [ 30/Nov/23 ] |
|
Author: {'name': 'Bailey Pearson', 'email': 'bailey.pearson@mongodb.com', 'username': 'baileympearson'}Message: fix(node-runtime-worker-thread): remove function properties before serializing errors |