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

GridStoreStream._read() doesn't check GridStore.read() error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.28
    • Affects Version/s: 2.0.27
    • Component/s: None
    • Labels:

      In GridStoreStream._read() when calling GridStore.read() the returned error is ignored:
      https://github.com/mongodb/node-mongodb-native/blob/bf4f971862085eadcefb07a8f207049bf3888d0d/lib/gridfs/grid_store.js#L1374

      It should be properly handled.

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            trsystran Thomas Riccardi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: