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

Invalid N1QL server responses cause exception to be thrown.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.2
    • library
    • None

    Description

      In the case of the N1QL server responding with an invalid JSON error body, the Node.js SDK fails to correctly handle the fact that there was no JSON to successfully parse.  When the SDK attempts to clean up the meta-data object and present errors instead, it throws trying to delete the errors portion of the metadata.

      Attachments

        Issue Links

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

          Activity

            There are no comments yet on this issue.

            People

              brett19 Brett Lawson
              brett19 Brett Lawson
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty