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

Different error message for implicitly created sessions

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Error, Native

      As discussed with Matt, implicitly created sessions can cause some baffling "Use of expired sessions is not permitted" errors (https://travis-ci.org/Automattic/mongoose/jobs/370622334) if you still have an index build in progress and you close the connection. In the interest of clean developer experience, we should consider informing developers if the expired session was implicitly created by the driver in the error message.

            Assignee:
            Unassigned Unassigned
            Reporter:
            val@karpov.io Valeri Karpov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: