Skip to content

Conversation

@freakboy3742
Copy link

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.

@Kami
Copy link
Member

Kami commented Jul 2, 2012

Thanks for the patch. I've modified it to follow Libcloud conventions and inherit from LibcloudError - http://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/drivers/atmos.py?view=diff&r1=1356063&r2=1356064&pathrev=1356064

@Kami
Copy link
Member

Kami commented Oct 26, 2013

(just doing some pull request cleanup)

@freakboy3742 - Those changes have been merged a long time ago, can you please close this pull request?

Thanks!

@freakboy3742
Copy link
Author

Not sure why this wasn't automatically closed as a result of the commit, or why you can't close it yourself as a result of knowing that it's been committed... but sure - I can close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants