Skip to content

Commit

Permalink
Merge pull request #14530 from bernt-matthias/correct-fail
Browse files Browse the repository at this point in the history
[21.09] JobWrapper: use correct fail method
  • Loading branch information
mvdbeek authored Oct 17, 2022
2 parents 06baa27 + cd4ae46 commit cf036f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1696,7 +1696,7 @@ def fail(message=job.info, exception=None):
else:
# Prior to fail we need to set job.state
job.set_state(final_job_state)
return self.fail(f"Job {job.id}'s output dataset(s) could not be read")
return fail(f"Job {job.id}'s output dataset(s) could not be read")

job_context = ExpressionContext(dict(stdout=job.stdout, stderr=job.stderr))
if extended_metadata:
Expand Down

0 comments on commit cf036f1

Please sign in to comment.