Commit b113b5ac authored by Eric Tune's avatar Eric Tune

Merge pull request #14336 from erictune/more-verbosity-job-controller

Log the error when unable to update job.
parents 8258c1b0 c99df5e3
...@@ -341,7 +341,7 @@ func (jm *JobController) syncJob(key string) error { ...@@ -341,7 +341,7 @@ func (jm *JobController) syncJob(key string) error {
job.Status.Unsuccessful = unsuccessful job.Status.Unsuccessful = unsuccessful
if err := jm.updateHandler(&job); err != nil { if err := jm.updateHandler(&job); err != nil {
glog.Errorf("Failed to update job %v, requeuing", job.Name) glog.Errorf("Failed to update job %v, requeuing. Error: %v", job.Name, err)
jm.enqueueController(&job) jm.enqueueController(&job)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment