Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-668

unhandledRejection when couchbase is down

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.1
    • None
    • library
    • None
    • 1

    Description

      When trying to connect to an offline database it throws an unhandledRejection.
      The culprit seem line 475 of cluster.js when calling 
      conn.connect().
      Don't know if it happen elsewhere.
      Also the previous sdk had connect and error events, could be possible to restore them?
      Right now it's a black box, I have some logic relying on the readyness of couchbase how do you migrate it?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brett19 Brett Lawson
            00christian00 00christian00 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty