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

Use __str__, not __repr__, for human readable provider error text #2967

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

benclifford
Copy link
Collaborator

See PR #1966 for more context

Changed Behaviour

Any error reporting which uses the repr of an exception rather than the str of an exception will now look more ugly, as the human readable text will now only be available in str, not in repr. However, Python stack trace information is printed using str so at least that style of error reporting should not change here.

Type of change

  • Update to human readable text: Documentation/error messages/comments
  • Code maintentance/cleanup

@benclifford benclifford merged commit b1dab08 into master Nov 27, 2023
4 checks passed
@benclifford benclifford deleted the benc-doc-provider-repr branch November 27, 2023 16:52
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.

1 participant