-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
ValidationError doesn't show what validation failed #3064
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
Comments
The error object has an |
Hey Valeri, thanks for the tip! On Thu, Jun 11, 2015 at 12:52 PM, Valeri Karpov [email protected]
Michael Cole |
I think this issue should be re-opened. While it's definitely useful for the A sensible default might be to print the first error and if there are more than 1 errors, print out how many more there are after that. Examples of useful errors:
|
Awesome |
with .validate() and .save(), I'm getting the same error.
This doesn't explain why or where the validation failed. Rather than a guessing game, it would be nice to have some information on what was invalid. Path? Hook?
Thanks!
See #2135
This was caused by this code:
The text was updated successfully, but these errors were encountered: