Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2400

Synchronous errors are swallowed by executeOperation

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.0
    • Affects Version/s: 3.4.1
    • Component/s: None
    • None

      In some circumstances synchronously thrown errors are caught by executeOperation and reported through an optionally provided callback, or Promise. The logic of executeOperation can be dramatically simplified while also allowing synchronous errors to be thrown as expected.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: