Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-207

Include error text if a CloudStack async job returns an error code

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:

      Description

      When an asynchronous job querying response returns a code to say that the job has failed, an exception is thrown containing only the error code (the value 2) as its message.

      Having the textual message that is returned is very helpful in diagnosing an underlying issue when a error code is returned.

        Activity

        Hide
        gabriel.reid Gabriel Reid added a comment -

        Patch to include error text when an error code is returned for an asynchronous job in CloudStack

        Show
        gabriel.reid Gabriel Reid added a comment - Patch to include error text when an error code is returned for an asynchronous job in CloudStack
        Hide
        kami Tomaz Muraus added a comment -

        Committed into trunk with minor Python 2.5 compatibility changes. Thanks.

        Show
        kami Tomaz Muraus added a comment - Committed into trunk with minor Python 2.5 compatibility changes. Thanks.

          People

          • Assignee:
            kami Tomaz Muraus
            Reporter:
            gabriel.reid Gabriel Reid
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development