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

raising an error class does not print the error details #30

Open
ghost opened this issue Oct 14, 2016 · 1 comment
Open

raising an error class does not print the error details #30

ghost opened this issue Oct 14, 2016 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Oct 14, 2016

In a shell:

import errors
raise errors.ValidationError("foo")
---------------------------------------------------------------------------
ValidationError                           Traceback (most recent call last)
<ipython-input-11-464b5e215eb8> in <module>()
----> 1 raise errors.ValidationError("foo")

ValidationError:

This is because the error classes do not call the super constructor in their constructor overwrites. Do you have a reason to not call the super constructors there? I have fixed this locally so I can see what is actually going on when, e.g. a ValidationError was raised. When you are interested I can open a pull request with my fix.

@Anderycks
Copy link
Collaborator

Hey there. I'm helping Colton get issues and PRs reviewed. I'd definitely be interested in seeing a patch.

@Anderycks Anderycks added the bug label Feb 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant