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

Error-like objects can break analytics reporting

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Telemetry Data
    • None
    • 3

      test> throw { code: db, errmsg: db }
      Uncaught:
      MongoshInternalError: [COMMON-90001] Converting circular structure to JSON
          --> starting at object with constructor 'Topology'
          |     property 's' -> object with constructor 'Object'
          |     property 'sessionPool' -> object with constructor 'ServerSessionPool'
          --- property 'topology' closes the circle
      This is an error inside mongosh. Please file a bug report for the MONGOSH project here: https://jira.mongodb.org/projects/MONGOSH/issues.
      Please include the log file for this session (/home/addaleax/.mongodb/mongosh/61236e90660d591e602147fe_log).
      
      test> ({ message: db, stack: db, code: db, errmsg: db })
      Uncaught:
      MongoshInternalError: [COMMON-90001] Converting circular structure to JSON
          --> starting at object with constructor 'Topology'
          |     property 's' -> object with constructor 'Object'
          |     property 'sessionPool' -> object with constructor 'ServerSessionPool'
          --- property 'topology' closes the circle
      This is an error inside mongosh. Please file a bug report for the MONGOSH project here: https://jira.mongodb.org/projects/MONGOSH/issues.
      Please include the log file for this session (/home/addaleax/.mongodb/mongosh/61236e90660d591e602147fe_log).
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: