Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-101514

Logging JavaScript uncaught exception lacks type information

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • QE 2025-03-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In SPM-3895 we've added an 'extraAttr' property to the standard Error class, as well as the special logging code that would add the content of 'extraAttr' under 'attr.extra' in structured log format. Unfortunately, serializing is missing the type information and so instead of "id":

      {"$numberLong":"2123204300483321126"}

      we only get "id": 2123204300483321126.

            Assignee:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Reporter:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: