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

Respect errors returned on 'json.Marshal()' to prevent unexpected panic #19

Merged
merged 1 commit into from Nov 16, 2021

Conversation

vparfonov
Copy link
Contributor

Respect errors returned on json.Marshal() to prevent unexpected panic.
Added tests for unsupported for JSON marshaling values.
Should fix #8 and https://issues.redhat.com/browse/LOG-1896
/cc @jcantrill
Signed-off-by: Vitalii Parfonov vparfono@redhat.com

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
@periklis periklis merged commit fc817d4 into ViaQ:master Nov 16, 2021
@vparfonov vparfonov deleted the log1896 branch November 16, 2021 13:04
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.

Panic with encoding
2 participants