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
    • Resolution: Fixed
    • Major
    • core-10.0.5, 2.3.4
    • None
    • 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

        For Gerrit Dashboard: GOCBC-1193
        # Subject Branch Project Status CR V

        Activity

          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