diff --git a/.gitignore b/.gitignore index aa9c3f9..a2f448a 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ node_modules/ # parcel-bundler cache (https://parceljs.org/) .cache +.idea diff --git a/index.js b/index.js index 8bd752f..43200be 100644 --- a/index.js +++ b/index.js @@ -208,9 +208,9 @@ const processQueue = async (queueName) => { processQueue(queueName) return }).catch(async err => { - console.log(queue.running) + log(queue.running) queue.running-- - console.log(queue.running) + log(queue.running) task.error = err log('Task threw an error', queueName) processQueue(queueName)