You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by Git at Apache <gi...@git.apache.org> on 2012/07/02 04:37:46 UTC

[dev] libcloud pull request: Modified AtmosError so that the message argument is ...

GitHub user freakboy3742 opened a pull request:

    https://github.com/apache/libcloud/pull/67

    Modified AtmosError so that the message argument is actually useful.

    As currently implemented, AtmosError (in the Atmos storage backend) extends Exception, but then doesn't pass the message argument to the superclass. As a result, when an AtmosError is raised, the printed error message is useless.
    
    Simply passing the message argument up to the superclass means that the message handling of the base Exception class is used, which means printed exceptions actually make sense.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/freakboy3742/libcloud patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/67.patch

----
commit 167fef9852bff6a5f9626b6d279f603c99618243
Author: Russell Keith-Magee <ru...@keith-magee.com>
Date:   2012-07-01T19:35:21-07:00

    Modified AtmosError so that the message argument is actually useful.

----