Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove message attribute from Exceptions #1609

Merged
merged 1 commit into from
May 28, 2019

Conversation

lincmba
Copy link
Contributor

@lincmba lincmba commented May 28, 2019

In python 3, the Exceptions don't have the attribute message. It's been replaced by args. The Exception by itself is a string, and that's what I have decided to use as is.
fixes #1606

Signed-off-by: Lincoln Simba [email protected]

…en replaced by args. The Exception by itself is a string, and that's what I have decided to use as is.

Signed-off-by: Lincoln Simba <[email protected]>
@lincmba lincmba requested a review from ukanga May 28, 2019 10:29
@ukanga ukanga merged commit ea3943b into master May 28, 2019
@ukanga ukanga deleted the remove-message-attribute-from-exceptions branch May 28, 2019 11:55
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.

WrappedAttributeError: 'AttributeError' object has no attribute 'message'
2 participants