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

validateSchema() will always returns Errors+Warnings list irrespective of what log level is set #21

Open
ravishroshanms opened this issue Nov 11, 2021 · 0 comments

Comments

@ravishroshanms
Copy link

I running my yaml validation in one of my projects and I want my build to fail if I get any errors and not on just warnings. validateSchema() returns Errors+Warnings list irrespective of the log levels we have set and there is no way to differentiate between errors and warnings from the list returned. Can we return the list of errors depending on what the log level is set?

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

1 participant