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

Fix JSON serialization of errors to include the cause

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: core-9.1.1, 2.2.1
    • Component/s: library
    • Labels:
      None
    • Story Points:
      1

      Description

      We previously hijacked the JSON serialization of errors for the stringification of errors. This however causes external actors serializing our errors to lose the cause reason which should not occur.

        Attachments

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

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-7.0.0-4715 contains gocb commit c59f1d8 with commit message:
          GOCBC-1040: Include error causes when doing serialization

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4715 contains gocb commit c59f1d8 with commit message: GOCBC-1040 : Include error causes when doing serialization
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-7.0.0-4715 contains gocbcore commit c7d8324 with commit message:
          GOCBC-1040: Include error causes when doing serialization

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4715 contains gocbcore commit c7d8324 with commit message: GOCBC-1040 : Include error causes when doing serialization
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-3.0.0-225 contains gocb commit c59f1d8 with commit message:
          GOCBC-1040: Include error causes when doing serialization

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-225 contains gocb commit c59f1d8 with commit message: GOCBC-1040 : Include error causes when doing serialization
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-3.0.0-225 contains gocbcore commit c7d8324 with commit message:
          GOCBC-1040: Include error causes when doing serialization

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-225 contains gocbcore commit c7d8324 with commit message: GOCBC-1040 : Include error causes when doing serialization

            People

            Assignee:
            charles.dixon Charles Dixon
            Reporter:
            brett19 Brett Lawson
            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