Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-443

ChangeStream does not surface non-resumable errors during iteration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.5.0
    • Labels:
      None

      Description

      The try/catch within next() and rewind() should re-throw the exception if it is not resumable. Currently, the exception is swallowed, which means the only exceptions thrown by those methods will be an exception from resume() itself (only a fraction of potential cases).

        Attachments

          Activity

            People

            Assignee:
            jmikola Jeremy Mikola
            Reporter:
            jmikola Jeremy Mikola
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: