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

Cursor.prototype.hasNext does not propagate errors when using callbacks

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0
    • Affects Version/s: 3.0.0, 2.2.30
    • Component/s: None
    • Labels:
      None

      If you pass a callback to `Cursor.prototype.hasNext`, and some internal error occurs, it will not be passed up back to the user.

            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: