Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1203

Durability Impossible Exception is not wrapped around an exception object

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • .backlog3.x
    • None
    • None
    • 1

    Description

      Currently, Durability Impossible error is not wrapped around a DurabilityImpossibleException instead what is thrown today is 

       

      couchbase.exceptions.LCB_0x134 (generated, catch: ): <Key='test-key', RC=0x134[LCB_ERR_DURABILITY_IMPOSSIBLE (308)], Operational Error, Results=1, C Source=(src/multiresult.c,332), Context={'status_code': 161, 'opaque': 0, 'cas': 0, 'key': 'test-key', 'bucket': 'default', 'collection': '_default', 'scope': '_default', 'context': '', 'ref': '', 'endpoint': 'localhost:11210', 'type': 'KVErrorContext'}, Tracing Output={"test-key": {"debug_info": {"FILE": "src/callbacks.c", "FUNC": "dur_chain2", "LINE": 743}}}>

       As a developer its is not possible to catch an exception as the type is unknown.

      Attachments

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

        Activity

          People

            jared.casey Jared Casey
            arun.vijayraghavan Arun Vijayraghavan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty