Skip to content

Refactor error message handling#213

Merged
StykMartin merged 1 commit intobeaker-project:release-29from
StykMartin:wip/mstyk/exc-message
Feb 9, 2024
Merged

Refactor error message handling#213
StykMartin merged 1 commit intobeaker-project:release-29from
StykMartin:wip/mstyk/exc-message

Conversation

@StykMartin
Copy link
Copy Markdown
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

Resolves: beaker-project#210
Signed-off-by: Martin Styk <mart.styk@gmail.com>
@StykMartin StykMartin requested review from a team, JohnVillalovos, mdujava and p3ck and removed request for a team February 9, 2024 21:16
@StykMartin
Copy link
Copy Markdown
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
@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