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

added log of offendingProperty to console on validation error #6162

Closed
wants to merge 1 commit into from

Conversation

jgentes
Copy link

@jgentes jgentes commented Dec 2, 2015

This would have saved me a lot of time trying to identify the source of the exception. The error stack only includes 'ValidationError' and doesn't include the offending property. Perhaps there is a better solution, but for me this simple line allowed me to solve my problem.

@ErisDS
Copy link
Member

ErisDS commented Dec 3, 2015

Hi @jgentes I appreciate this was frustrating. The problem you ran into is one that is covered by both the need to make this not happen #4866 (there's an open PR looking to resolve this) and also this issue about improving our validation errors: #6050.

There are two alternate solutions in progress, and adding a console log here is not the right fix so I'm going to close this, but rest assured this issue will be cleared up one way or another shortly.

@ErisDS ErisDS closed this Dec 3, 2015
@jgentes
Copy link
Author

jgentes commented Dec 3, 2015

Sounds good, thanks!

On Thu, Dec 3, 2015 at 8:02 AM, Hannah Wolfe notifications@github.com
wrote:

Closed #6162 #6162.


Reply to this email directly or view it on GitHub
#6162 (comment).

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

Successfully merging this pull request may close these issues.

None yet

2 participants