Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1658

node-worker-runtime: remove function properties from errors before serialization

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      node-worker-runtime-thread spawns a child process for mongosh evaluation. when serializing a response, if the response is an error and the error has function properties, node-worker-runtime-thread fails to serialize the error.

      we should remove function properties from error before serializing them.

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: