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

[CBM] "Not an archive directory" error not being bubbled up

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • None
    • tools
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      Problem

      When "readResource" fails here, the initial error that caused "readResource" to fail is not bubbled up. This makes it difficult to debug the cause of the issue, an issue we ran into during a customer case when trying to figure out why the customer couldn't run collect-logs.

      FIx

      Pass the original error up i.e.

      return nil, fmt.Errorf("failed to read resource", err)
      

      Attachments

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

        Activity

          People

            owend Daniel Owen
            safian.ali Safian Ali
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty