Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/naptha/tesseract.js.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiguelm3 <miguel.angel.gatto@gmail.com>2020-11-19 23:28:01 +0300
committermiguelm3 <miguel.angel.gatto@gmail.com>2020-11-19 23:28:01 +0300
commitdec119fa7b730f1d88cffc09f0bc97f1f6733bc6 (patch)
treec10829e943f778c5a62f6ebfd0708ab6b65528cc
parent909263b94ba11db149289faffa21a7ac3eb51657 (diff)
modified logger to have the user JobId
-rw-r--r--src/createWorker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/createWorker.js b/src/createWorker.js
index a266a34..a6c47c3 100644
--- a/src/createWorker.js
+++ b/src/createWorker.js
@@ -173,7 +173,7 @@ module.exports = (_options = {}) => {
throw Error(data);
}
} else if (status === 'progress') {
- logger(data);
+ logger({...data, 'userJobId': jobId});
}
});