Skip to content

Commit

Permalink
Fix missed error output
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolan Woods committed Sep 29, 2020
1 parent 5264d2d commit 7e522ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/jobs/runners/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def check_watched_item(self, job_state):
except EnvironmentError as e:
# Python 2/3 compatible handling of FileNotFoundError
if e.errno == errno.ENOENT:
log.error("Job directory already cleaned up. Assuming already handled for selector %S=%s", (JOB_ID_LABEL, job_state.job_id))
log.error("Job directory already cleaned up. Assuming already handled for selector %s=%s", (JOB_ID_LABEL, job_state.job_id))
else:
raise
return job_state
Expand All @@ -472,7 +472,7 @@ def check_watched_item(self, job_state):
except EnvironmentError as e:
# Python 2/3 compatible handling of FileNotFoundError
if e.errno == errno.ENOENT:
log.error("Job directory already cleaned up. Assuming already handled for selector app=%s", job_state.job_id)
log.error("Job directory already cleaned up. Assuming already handled for selector %s=%s", (JOB_ID_LABEL, job_state.job_id))
else:
raise
return job_state
Expand Down

0 comments on commit 7e522ff

Please sign in to comment.