-
Notifications
You must be signed in to change notification settings - Fork 2k
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
ActionError.extra_msg is not needed #2167
Comments
davidread
pushed a commit
that referenced
this issue
Dec 29, 2014
BTW extra_msg was introduced in this commit: |
rossjones
added a commit
that referenced
this issue
Dec 31, 2014
[#2167] Remove ActionError.extra_msg.
This was merged into 2165-check-access-log (#2166) as requested. |
davidread
pushed a commit
that referenced
this issue
Dec 31, 2014
rossjones
added a commit
that referenced
this issue
Dec 31, 2014
[#2167] Fix DeprecationWarning: BaseException.message
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simplify ActionError by removing its
.extra_msg
.ActionError inherits from Exception but instead of using Exception.message, it introduces its own
ActionError.extra_msg
and has logic to save and return it in place of Exception.message. I can't see the point, apart from maybe the word 'extra' implying it is optional. So I suggest we just get rid of the extra_msg and store what was there in Exception.message instead.The text was updated successfully, but these errors were encountered: