From 5fc5637a9400c3a9f7cc70bf711ab742463e912c Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 5 Mar 2018 04:43:28 +0100 Subject: [PATCH] Substring 2 --- .vs/AAWebPlatform/v15/.suo | Bin 72192 -> 71680 bytes server.js | 14 +++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.vs/AAWebPlatform/v15/.suo b/.vs/AAWebPlatform/v15/.suo index c8644fafe980007335661bfe7a7077bc69c2d31f..15703bc009cdac363c5a53bc2d50b083cc13486b 100644 GIT binary patch delta 381 zcmZqJ!qTvTWrD%vf+?I50t^hi3=9m+K>Y9j|NlUWff0x$HU|D?WMrGH$Ry9Y;f1J} z$>u_)AVywB9-y2&5CfI|pByN!GWiR$2CEcMKytDoi!h`0WK$M>PIe&Q1&H-0=dwsM zI#2FoF%~rf@_}}NH7Y=9_sJJoqzzf1JdlyfP_`hF7$16D3}Fen_Mz!1nb-+cR+Y9Ig?EQ;X( delta 402 zcmZqJz|ydVWrBes69W_oFfhmgnan`^@Bjb*AW;z8aAV+a#>qZx3akyxx73X`7cvDg zPCm?TIQa{+2CEWKfz)J07GXw*$)+s&oGw5&SjBibf4VGVl3(mC;r2cGn z5o}=M0a+%GEd528M`4rO5k?+fpr{s-466!|(>eKP`YB#UkR#ZTtJ!!jr$fR@!Xp@mhSdLc;^bMM+|lS`;=bBmkLJ9E(br7PYV}YGPVc#k8o0 tWl;^&rb(wv1gF4*mw{m&h`sstG1b6rVvHe-li6DBCJVHhfUyA+8vtJZkCOlZ diff --git a/server.js b/server.js index 43ce9cfc0..cd410a6e4 100644 --- a/server.js +++ b/server.js @@ -61,7 +61,7 @@ function initialize() { readCompetitionsConfig(); } catch (err) { - console.log("File Not Found: " + fileName + " or Error = " + err); + console.log("readEcosystemConfig -> onFileRead -> File = " + fileName + " Error = " + err); } } @@ -84,7 +84,7 @@ function initialize() { readCompetitionsConfig(); } catch (err) { - console.log("File Not Found: Error = " + err); + console.log("readEcosystemConfig -> onDataArrived -> Error = " + err); } } @@ -152,7 +152,7 @@ function initialize() { } } catch (err) { - console.log("File Not Found: " + fileName + " or Error = " + err); + console.log("readCompetitionsConfig -> onFileRead -> File = " + fileName + " Error = " + err); } } @@ -191,7 +191,7 @@ function initialize() { } catch (err) { - console.log("readCompetitionsConfig Error = " + err + " pData = " + pData); + console.log("readCompetitionsConfig -> onDataArrived -> Error = " + err); } } } @@ -258,7 +258,7 @@ function initialize() { } } catch (err) { - console.log("File Not Found: " + fileName + " or Error = " + err); + console.log("readBotsConfig -> onFileRead -> File = " + fileName + " Error = " + err); } } @@ -303,7 +303,7 @@ function initialize() { } catch (err) { - console.log("readBotsConfig Error = " + err + " pData = " + pData); + console.log("readBotsConfig -> onDataArrived -> Error = " + err); } } } @@ -683,7 +683,7 @@ function getGithubData(pOrg, pRepo, pPath, callBackFunction) { let decoded = atob(result.data.content); - let cleanString = decoded.trim(); // Eliminate ecoding info. + let cleanString = decoded.substring(2); // Eliminate first 2 bytes of ecoding info. githubData.set(pOrg + '.' + pRepo + '.' + pPath, cleanString);