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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
            Reporter:
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: