Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3269

InternalServerFailureException error message caught in SDK Query Response

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • 3.4.2
    • None
    • None
    • None
    • 1
    • SDK41, SDK43, SDK45, SDK49, SDK51

    Description

      I expect the couchbase query error msg to be accessible from the sdk exception.
       
      Looks like 5000-5999 series error code exceptions send a generic `InternalServerFailureException`. However, a message does in fact exist describing the error from couchbase. This does not appear to be available through sdk exception on error.
       
      Example: a query with missing parameter will send code 5010 and a msg of "Error evaluating filter. - cause: No value for named parameter $test."
       
      I would have thought that message would be able to be found from the caught exception.
       

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            amfrye777 Alex Frye
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty