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

Errors null bug#657

Open
petrkrejci1 wants to merge 1 commit into1000hz:masterfrom
petrkrejci1:patch-1
Open

Errors null bug#657
petrkrejci1 wants to merge 1 commit into1000hz:masterfrom
petrkrejci1:patch-1

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