schematics/schematics

the traceback including the line number where the validation error occurred

ravi140222 opened this issue · 0 comments

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.