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

Errors from mongoshrc.js are not easily recognizable as such

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.1
    • Affects Version/s: None
    • Component/s: CLI Module
    • None
    • Iteration Geneva
    • Not Needed

      See the output in MONGOSH-904 – there’s nothing pointing out that the error comes from the mongoshrc, even with stack trace printing enabled.

      mongo fails with The ".mongorc.js" file located in your home folder could not be executed, I don’t think we need to do that, but we should probably still indicate that an error comes from the mongoshrc file.

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

              Created:
              Updated:
              Resolved: