Better debug
This commit is contained in:
parent
4daa39bd2c
commit
71d32e003b
@ -47,7 +47,7 @@ Scheduler.prototype.schedule = function() {
|
|||||||
function (next) {
|
function (next) {
|
||||||
debug('Trying to acquire user');
|
debug('Trying to acquire user');
|
||||||
self.acquire(function(err, taskEntity) {
|
self.acquire(function(err, taskEntity) {
|
||||||
debug('Acquired user=%s', taskEntity);
|
debug('Acquired user=%j', taskEntity);
|
||||||
|
|
||||||
if (!taskEntity) {
|
if (!taskEntity) {
|
||||||
return next(new Error('all users finished'));
|
return next(new Error('all users finished'));
|
||||||
|
Loading…
Reference in New Issue
Block a user