From 010dde322a7149c6edcbfdfeed7acec982245881 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 8 Jun 2018 10:46:41 +0200 Subject: [PATCH] fix number --- ExtractionBotProcessMainLoop.js | 2 +- IndicatorBotProcessMainLoop.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ExtractionBotProcessMainLoop.js b/ExtractionBotProcessMainLoop.js index b40b2c839..c0a6f886f 100644 --- a/ExtractionBotProcessMainLoop.js +++ b/ExtractionBotProcessMainLoop.js @@ -140,7 +140,7 @@ function loop() { try { - console.log((new Date().toISOString() + " " + bot.codeName + " " + bot.process + " Entered into Loop # " + bot.loopCounter + 1)); + console.log((new Date().toISOString() + " " + bot.codeName + " " + bot.process + " Entered into Loop # " + Number(bot.loopCounter) + 1)); /* For each loop we want to create a new log file. */ const DEBUG_MODULE = require(ROOT_DIR + 'DebugLog'); diff --git a/IndicatorBotProcessMainLoop.js b/IndicatorBotProcessMainLoop.js index 78571abbf..6604efefe 100644 --- a/IndicatorBotProcessMainLoop.js +++ b/IndicatorBotProcessMainLoop.js @@ -141,7 +141,7 @@ function loop() { try { - console.log((new Date().toISOString() + " " + bot.codeName + " " + bot.process + " Entered into Loop # " + bot.loopCounter + 1)); + console.log((new Date().toISOString() + " " + bot.codeName + " " + bot.process + " Entered into Loop # " + Number(bot.loopCounter) + 1)); /* For each loop we want to create a new log file. */ const DEBUG_MODULE = require(ROOT_DIR + 'DebugLog');