Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Conversation

@petrkrejci1
Copy link

When errors is null errors.length call is causing uncaught error. Fixed by adding check on errors and then calling the original errors.length.

When errors is null errors.length call is causing uncaught error. Fixed by adding check on errors and then calling the original errors.length.
@petrkrejci1
Copy link
Author

I should have fix it as follows: if (errors && !errors.length) return

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant