Skip to content

fix(core): do not crash the vote count in case of invalid ballot#45

Merged
stduhpf merged 1 commit intomainfrom
invalid-ballot
Jun 26, 2024
Merged

fix(core): do not crash the vote count in case of invalid ballot#45
stduhpf merged 1 commit intomainfrom
invalid-ballot

Conversation

@aduh95
Copy link
Copy Markdown
Contributor

@aduh95 aduh95 commented Jun 25, 2024

If the ballot contains invalid YAML syntax, ballotData is undefined, and the script throws a very obscure error.

@stduhpf stduhpf merged commit 4fcce30 into main Jun 26, 2024
@stduhpf stduhpf deleted the invalid-ballot branch June 26, 2024 18:32
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.

2 participants