Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

schema-utils validation errors not thrown properly #667

Closed
@dinkzilla

Description

@dinkzilla

When validation in schema-util fails, schema-utils throws an error with fairly verbose messaging, but it is not being properly caught and rethrown within extract-text-webpack-plugin. As a result, you get unhelpful error messages in the console that look like this:

<project-path>\node_modules\schema-utils\dist\validateOptions.js:40
    throw new _ValidationError2.default(ajv.errors, name);
    ^

false

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions