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

REPL prompt is shown if --eval string throws asynchronously

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.12.1
    • Affects Version/s: None
    • Component/s: CLI Module
    • None
    • Iteration Athens, Iteration Barcelona
    • Not Needed

      $ mongosh --eval 'void setImmediate(() => { throw new Error() })
      […]
      Error: t 
      Enterprise replset [direct: primary]> 
      

            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: