Skip to content

Commit 5c8cd4c

Browse files
committed
Improve logging
1 parent 8f422ae commit 5c8cd4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyres/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def reserve(self, timeout=10):
224224
logger.debug('checking queues %s' % self.queues)
225225
job = self.job_class.reserve(self.queues, self.resq, self.__str__(), timeout=timeout)
226226
if job:
227-
logger.info('Found job on %s' % job._queue)
227+
logger.info('Found job on %s: %s' % (job._queue, job))
228228
return job
229229

230230
def working_on(self, job):

0 commit comments

Comments
 (0)