Skip to content

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

@ravishroshanms

Description

@ravishroshanms

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions