Skip to content

Catch errors during bunch encoding#404

Open
Khartir wants to merge 1 commit intoavstudnitz:developfrom
Khartir:catch_errors_in_data
Open

Catch errors during bunch encoding#404
Khartir wants to merge 1 commit intoavstudnitz:developfrom
Khartir:catch_errors_in_data

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