From 87eefb9cb791d2fac906889f940db9f4935b109b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Wed, 3 Apr 2019 18:53:58 +0200 Subject: [PATCH] Typo --- batch/batch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/batch.js b/batch/batch.js index fdd67d0b..aa2e8ff4 100644 --- a/batch/batch.js +++ b/batch/batch.js @@ -187,7 +187,7 @@ Batch.prototype._drainJob = function (user, callback) { self.clearWorkInProgressJob(user, job_id, function (err) { if (err) { - debug(new Error('Could not clear job from work-in-progress list. Reason: ' + errClear.message)); + debug(new Error('Could not clear job from work-in-progress list. Reason: ' + err.message)); } self.jobQueue.enqueueFirst(user, job_id, callback);