Skip to content

Conversation

@ashley-conpago
Copy link

closes #1024

  • check that error.originalError.errors is an array before mapping it.
  • if not an array, but is defined, try to handle it anyway.

Copy link
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening a PR! Can you please add a unit test?

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.

Occasional "error.originalError.errors.map is not a function" errors

2 participants