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

the traceback including the line number where the validation error occurred #630

Open
ravi140222 opened this issue Apr 20, 2022 · 1 comment

Comments

@ravi140222
Copy link

ravi140222 commented Apr 20, 2022

I want to know the line number where the error occurred, it gives me something like this,

(DataError({'url': ValidationError([ErrorMessage('Not a well-formed URL.', None)])}))

and when I print the traceback for this error, then it points me to the validate.py file which is not what I want, how do I get the traceback to the line where url is entered incorrectly.

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

No branches or pull requests

2 participants
@ravi140222 and others