internal/worker: log dequeue failures
This commit is contained in:
parent
0330e9c3e1
commit
9dc0881247
1 changed files with 3 additions and 0 deletions
|
|
@ -613,6 +613,9 @@ func (s *Server) requestJob(ctx context.Context, arch string, jobTypes []string,
|
|||
jobId, token, depIDs, jobType, args, err = s.jobs.Dequeue(dequeueCtx, jts, channels)
|
||||
}
|
||||
if err != nil {
|
||||
if err != jobqueue.ErrDequeueTimeout {
|
||||
logrus.Errorf("dequeuing job failed: %v", err)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue