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

Errors null bug #657

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Errors null bug #657

wants to merge 1 commit into from

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