TwythonErrors should display errors with the built-in Exception args, not its own msg #171
Labels
No labels
Bug
Enhancement
Feature Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/twython#171
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sentry, our team's error logging platform, does not prominently display the error message whenever a
TwythonErroris raised. I believe it is happening because Twython's Exception classes set and useself.msgbut Sentry is callingrepl()which returnsself.args.It would be better if the TwythonErrors used the parent Exception's attributes and str() method.
More information about this at http://www.python.org/dev/peps/pep-0352/.