Skip to content

Ensure malformed decode events log and continue processing#214

Merged
donoghuc merged 3 commits intologstash-plugins:mainfrom
donoghuc:decode-bugfix
Jan 21, 2026
Merged

Ensure malformed decode events log and continue processing#214
donoghuc merged 3 commits intologstash-plugins:mainfrom
donoghuc:decode-bugfix

Conversation

@donoghuc
Copy link
Copy Markdown
Contributor

This commit fixes a bug whereby on error a Logger object was returned resulting in a NoMethodError when attempting to iterate over a result. The fix involves moving error handling such that errors are logged and processing continues (rather than stopping and letting a NoMethodError propogate).

TODO: Once we agree on direction add release prep (changelog, version bumps, etc).

This commit fixes a bug whereby on error a Logger object was returned resulting
in a NoMethodError when attempting to iterate over a result. The fix involves
moving error handling such that errors are logged and processing continues
(rather than stopping and letting a NoMethodError propogate).
Copy link
Copy Markdown

@mashhurs mashhurs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with the return type, so changes LGTM!

@donoghuc donoghuc merged commit f5ee99d into logstash-plugins:main Jan 21, 2026
3 checks passed
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