From 17e79145934f458e6e0b840f7e4a2b75d8f4f2d3 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 5 Mar 2018 04:26:07 +0100 Subject: [PATCH] More Logs Improvements --- server.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 0770016d7..2d35685dc 100644 --- a/server.js +++ b/server.js @@ -169,6 +169,12 @@ function initialize() { try { + if (CONSOLE_LOG === true) { + + console.log("readCompetitionsConfig -> onDataArrived -> pData = " + pData); + + } + responsesReceived++; pData = pData.toString(); @@ -269,6 +275,12 @@ function initialize() { try { + if (CONSOLE_LOG === true) { + + console.log("readBotsConfig -> onDataArrived -> pData = " + pData); + + } + responsesReceived++; pData = pData.toString(); @@ -663,7 +675,7 @@ function getGithubData(pOrg, pRepo, pPath, callBackFunction) { if (CONSOLE_LOG === true) { - console.log("getGithubData - Github.com responded to request " + pOrg + '.' + pRepo + '.' + pPath + " with result = " + result); + console.log("getGithubData - Github.com responded to request " + pOrg + '.' + pRepo + '.' + pPath + " with result = " + result.toString.substring(0,100); }