Skip to content

Raise ValueError on slurm_update_reservation #257

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

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

pllopis
Copy link
Contributor

@pllopis pllopis commented Jan 6, 2023

To be consistent with other functions and methods, we need to raise a ValueError instead of just returning the error code. This also allows client applications to more easily interpret the reason for the error.

To be consistent with other functions and methods, we need to raise a
ValueError instead of just returning the error code. This also allows
client applications to more easily interpret the reason for the error.
@tazend tazend self-assigned this Jan 6, 2023
@tazend tazend merged commit 2617092 into PySlurm:main Jan 6, 2023
tazend pushed a commit that referenced this pull request Jan 19, 2023
To be consistent with other functions and methods, we need to raise a
ValueError instead of just returning the error code. This also allows
client applications to more easily interpret the reason for the error.
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