Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed up BotoServerException's use of message #1353
The BotoServerException class uses getattr() to check the message variable, but this is never going to work as it inherits from StandardError which defines the same variable.
This commit changes the default behaviour to use the message variable by default instead and add support for handling the now old variable name (error_message).
This change also means that the message variable will be populated by default which people generally expect when dealing with exceptions (it's currently not).