Add structured error for VALIDATION_ERROR action #12050
Labels
help wanted
Issue with a clear description that the community can help with.
status: confirmed
Issue with steps to reproduce the bug that’s been verified by at least one reviewer.
type: bug
An issue or pull request relating to a bug in Gatsby
In the
createNode
action creator, when a node fails Joi validation, we dispatch a VALIDATION_ERROR action, but we don't handle it anywhere at the moment.We probably want to handle this and warn using
reporter.warn
The text was updated successfully, but these errors were encountered: