The variable to chech health must not be on a closure

This commit is contained in:
Luis Fernando Molina committed 2018-07-05 17:15:16 +02:00
1 parent 0da320c9a3
commit 76bde8d220
5 files changed
+112 -97

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@
if (pMessage.indexOf("[ERROR]") >= 0) {
let now = new Date;
console.log(now.toUTCString() + " AACloud " + spacePad(pModule, 20) + " : " + pMessage);
console.log("Loop." + pad(thisObject.bot.loopCounter, 8) + " " + now.toUTCString() + " AACloud " + spacePad(pModule, 20) + " : " + pMessage);
}
}