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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃彯 fix(exceptions): add string override #12

Merged
merged 1 commit into from
Dec 9, 2020
Merged

Conversation

izzylys
Copy link
Contributor

@izzylys izzylys commented Dec 9, 2020

Exceptions returned from make_request() were not being shown to the user as the __repr__ override was not affecting the printed string representation. This meant the response to a failed request was just...nothing. Oops! Fixed this here by changing the __repr__ overrides to __str__ overrides

do classes no longer default to the __repr__ override?
to investigate...

do classes no longer default to the `__repr__` override?
to investigate...
@izzylys izzylys merged commit 251f8fb into main Dec 9, 2020
@izzylys izzylys deleted the izzy/fix-errormsg branch December 9, 2020 11:42
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.

None yet

1 participant