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

Don't emit error messages as emails #116

Merged
merged 1 commit into from
Aug 13, 2023
Merged

Conversation

lpsinger
Copy link
Member

Fixes #114.

@lpsinger lpsinger merged commit 375dfd1 into nasa-gcn:main Aug 13, 2023
2 checks passed
@lpsinger lpsinger deleted the message.error branch August 13, 2023 20:24
lpsinger added a commit to lpsinger/gcn-kafka-python that referenced this pull request Aug 20, 2023
`Consumer.consume()` reports error messages by returning records
with `message.error()` set. Without this error handling, the user's
code is likely to raise an exception when it attempts to decode the
value as if it was a normal record.

See also nasa-gcn/gcn-email#116.
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.

Getting Swift related topics not available
2 participants