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

hook: gracefully ignore non functional hooks and fall back to none #1554

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

henning-schild
Copy link
Contributor

In case a hook fails to load for some reason, fall back to the default hook "none" and treat errors as warnings in the log.

This will gracefully ignore typos in hook names without crashing the server, and it will also allow configuration of "rabbitmq" where i.e. "pika" is missing.

Closes: #1490

In case a hook fails to load for some reason, fall back to the default
hook "none" and treat errors as warnings in the log.

This will gracefully ignore typos in hook names without crashing the
server, and it will also allow configuration of "rabbitmq" where i.e.
"pika" is missing.

Closes: Kozea#1490
Signed-off-by: Henning Schild <henning@hennsch.de>
@pbiering pbiering added this to the 3.2.3 milestone Aug 7, 2024
Copy link
Collaborator

@pbiering pbiering left a comment

Choose a reason for hiding this comment

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

thank you!

@pbiering pbiering self-assigned this Aug 7, 2024
@pbiering pbiering merged commit 2d0496b into Kozea:master Aug 7, 2024
24 checks passed
@henning-schild henning-schild deleted the henning/staging0 branch August 8, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable hook "rabbitmq" with warning on startup in case required "pika" is not available
2 participants