Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch errors during bunch encoding #404

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

Conversation

Khartir
Copy link

@Khartir Khartir commented Sep 8, 2017

If there is invalid data (e.g. NAN or INF) instead of failing to save the bunch to the database, an empty string is saved. This PR throws an Exception if json_encode fails.

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