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 messages for module_ctx_t structure validation checks. #3934

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

svdb0
Copy link

@svdb0 svdb0 commented Jan 18, 2024

Improved the error messages generated by the validation checks for the module_ctx_t structure, in hashconfig_init() in src/interface.c:

  • When a field is missing, include the name of the missing field in the error message.
  • Include more context (function name module_init, hash mode) in error messages, where this was not already present.
  • Consistent capitalisation of first letter of error messages.

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.

None yet

1 participant