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

Refactor error message handling #213

Merged

Conversation

StykMartin
Copy link
Contributor

The message attribute no longer exists in Python 3.
Instead, we convert the message to string, append to it, and expose it via args. This approach works both on Python 2 and Python 3
Resolves: #210

@StykMartin StykMartin requested review from a team, JohnVillalovos, p3ck and mdujava and removed request for a team February 9, 2024 21:16
@StykMartin
Copy link
Contributor Author

1 failed test, standard offender - test_can_downgrade_to_current_version. I will fix it zzz.

@StykMartin StykMartin merged commit 7564bcb into beaker-project:release-29 Feb 9, 2024
12 of 13 checks passed
@StykMartin StykMartin deleted the wip/mstyk/exc-message branch February 9, 2024 21:29
@StykMartin StykMartin linked an issue Feb 11, 2024 that may be closed by this pull request
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.

[BUG] AttributeError: 'GSSError' object has no attribute 'message'
2 participants