mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Drop redundant error message
There are only two places in the code where we set the job state to error (https://github.com/galaxyproject/galaxy/blob/ad9271cf6a33cb2e22bd7bed72f901e5215309da/lib/galaxy/jobs/handler.py#L722, https://github.com/galaxyproject/galaxy/blob/ad9271cf6a33cb2e22bd7bed72f901e5215309da/lib/galaxy/jobs/handler.py#L733) and both log more specific log messages.
This commit is contained in:
@@ -569,7 +569,8 @@ class JobHandlerQueue(BaseJobHandlerQueue):
|
||||
self.sa_session.add(dataset_assoc.dataset.dataset)
|
||||
self.sa_session.add(job)
|
||||
elif job_state == JOB_ERROR:
|
||||
log.error("(%d) Error checking job readiness" % job.id)
|
||||
# A more informative message is shown wherever the job state is set to error
|
||||
pass
|
||||
else:
|
||||
log.error("(%d) Job in unknown state '%s'" % (job.id, job_state))
|
||||
new_waiting_jobs.append(job.id)
|
||||
|
||||
Reference in New Issue
Block a user