Errors from mongoshrc.js are not easily recognizable as such

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: