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

Include details for finding session logs when raising a MongoshInternalError

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

      Add something like "see https://docs.mongodb.com/mongodb-shell/logs" to the message in https://github.com/mongodb-js/mongosh/blob/454bd1b57e0256b19a9a34aeeee38c5922936546/packages/errors/index.ts#L13 to facilitate log recovery when an error is raised.

      Would also be helpful if instead of *Please include a log file from this session* the message could be *Please include a log file from this session (${sessionId})*

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

              Created:
              Updated:
              Resolved: