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

plugin: add callback prefixes to exception messages #499

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

cmoussa1
Copy link
Member

@cmoussa1 cmoussa1 commented Oct 9, 2024

Problem

The priority plugin uses the same exception message for jobspec updates in more than one callback because there is more than one instance where that message would be appropriate. However, these exception messages are not prefixed with the callback the exception is being raised from, which can make it hard to debug when looking at a job's eventlog.


This PR just adds a prefix of the name of the callback the exception message is coming from.

Problem: The priority plugin uses the same exception message in more
than one callback because there is more than one instance where that
message would be appropriate. However, these exception messages are
not prefixed with the callback the exception is being raised from,
which can make it hard to debug when looking at a job's eventlog.

Add a prefix of the name of the callback the exception message is
coming from.
@cmoussa1 cmoussa1 added the plugin related to the multi-factor priority plugin label Oct 9, 2024
@cmoussa1 cmoussa1 requested a review from jameshcorbett October 9, 2024 17:06
Copy link
Member

@jameshcorbett jameshcorbett left a comment

Choose a reason for hiding this comment

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

👍

@cmoussa1
Copy link
Member Author

cmoussa1 commented Oct 9, 2024

Thanks @jameshcorbett! Setting MWP here

@mergify mergify bot merged commit 6a12e3a into flux-framework:master Oct 9, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-passing plugin related to the multi-factor priority plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants