Give nice error if you run mongoimport/tool from javascript shell

XMLWordPrintableJSON

    • Server Tooling & Methods
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If someone accidentally tries to run mongoimport/restore/etc from the mongo javascript shell they can get pretty confused why it isn't working. It could give a nice error message instead of this:

      > mongoimport -d finance -c values --type csv --file hwoern/dev.hwoern.de/finance/comma.csv --headerline
      Tue Jan 29 15:16:40 SyntaxError: missing ; before statement (shell):1
      

            Assignee:
            Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: