Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17162

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

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-stm Backlog - Server Tooling and Methods (STM)
              Reporter:
              scotthernandez Scott Hernandez
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: