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

improve error handling for inputs #21069

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

AntonEbel
Copy link
Contributor

@AntonEbel AntonEbel commented Nov 28, 2024

This PR improves the error handling of input errors and introduces a new exception that is used in the event of an error. The correct handling of errors is important here as otherwise the error metrics in the DecodingProcessor are not incremented correctly. In addition, the new decodeSafe method has been introduced and the code adapted accordingly. The decode method has thus been marked as deprecated.

/nocl

/jenkins-pr-deps Graylog2/graylog-plugin-enterprise#9285

@AntonEbel AntonEbel marked this pull request as ready for review December 11, 2024 08:39
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