Skip to content

Commit

Permalink
Make error message more general when datalad schedule hit not found
Browse files Browse the repository at this point in the history
  • Loading branch information
timcallow committed Dec 17, 2024
1 parent 1988232 commit 943eafd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datalad_slurm/reschedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ def __call__(
if not job_finished:
if job_finished == 0:
err_msg = (
f"Commit {revision[:7]} is already a rescheduled job. \n"
+ "You can only reschedule the fist scheduled instance of a job, not a reschedule."
f"Commit {revision[:7]} is not a scheduled job. \n"
"N.B., already re-scheduled jobs cannot be re-re-scheduled."
)
else:
err_msg = f"No finish found for schedule commit {revision}"
Expand Down

0 comments on commit 943eafd

Please sign in to comment.