Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1193

Query errors need to contain the query response body

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • core-10.0.5, 2.3.4
    • None
    • None
    • 1

    Description

      This is especially true when we can't parse the response body as a query error. In transactions I'm seeing the errror that I need (TransactionOperationFailedError) just get swallowed. We should expose this either via InnerError or via a new ResponseBody field. I would lean toward favouring the latter as we can then raise sentinel errors as the base with the response body included.

      Attachments

        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

            charles.dixon Charles Dixon
            charles.dixon Charles Dixon
            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