REPL prompt is shown if --eval string throws asynchronously

XMLWordPrintableJSON

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

                Created:
                Updated:
                Resolved: