Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-41502

Error thrown by eventing should have a predictable format

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Observed that we have the different error for incorrect type and reference as 

      couchbase.get(src_bucket,meta.id); // meta.id is integer than we thrown error like
      {"message":"2nd argument should be object","stack":"Error\n    at OnDelete (test.js:22:24)"} 
      on other hand advance bucket op error as 
      {"error":{"code":272,"name":"LCB_KEY_EEXISTS","desc":"The document key already exists in the 

      we need to have a predictable error format for eventing errors

      Attachments

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

        Activity

          People

            ankit.prabhu Ankit Prabhu
            vikas.chaudhary Vikas Chaudhary
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty