From abea7c2096af0fbe334172f710d818a2bf85e7b7 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 26 Mar 2018 16:14:24 +0200 Subject: [PATCH] More logs --- .vs/AAOlivia-Indicator-Bot/v15/.suo | Bin 31744 -> 29696 bytes Multi-Period-Daily/User.bot.js | 4 ++++ Multi-Period-Market/User.bot.js | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/.vs/AAOlivia-Indicator-Bot/v15/.suo b/.vs/AAOlivia-Indicator-Bot/v15/.suo index 822fd2d7567fc9e6f85f1fbcf1b3bcaa8a789579..dfb3f4d425b59e308977cfd310637863daffad74 100644 GIT binary patch delta 521 zcmYjL&npCR6rb;RW`Akc@7={Rn>ETwlC(+fZZl4nmQ%7fvHlN?P-dN|`vg zDEmF&pxrd?R*FACPLzX#toLQM=GCXqd++n!`#kN7Xs;yO)j|a;ss+J?DX)J@r4sLo z>_e&|hjXVnIwBDlw9=6CK|i>X@7X$a5^@0>uA_+nPU1pIve;`e@A2^4>N;D_UC>mh zM>HTj2p=MdXoMyA0O^4bDX3RSK7OVb+ngg7cU#X@=PFE5R&CI`$nmsfs#~CI*Hk7*I270>9w^LSx_xzuTbpr3@*jqY4;3*tM|AGUy(s34F m$P;5)HrA-INP+ezArx(b<0+NxE^ms)Iz`U5b27|bYnxL=Gd~h z{(#K=0WAChOA8BDEG+~J#<|ssle{_iz0Z5@hxZKL2UK(ENTcGBNQ~Bu^c{ww+6MWk zW#Dx6EMN;9y0M>Sc<%E(kh`o3zGe(|Q;4!5ulH2Ft36e8W{rmku|!WhxmJ=v>LDdb zT_h7XwE~RbD>u`lybM%>Nj!*la%(nsT{^Zsf|mbR{%aCmPCPZnKy nxU~;ror!IR50jqs_B=o~QN+x2FJ3I#HI4^6ZL)3q4gMlO4+_6; diff --git a/Multi-Period-Daily/User.bot.js b/Multi-Period-Daily/User.bot.js index d0660f594..d086766ec 100644 --- a/Multi-Period-Daily/User.bot.js +++ b/Multi-Period-Daily/User.bot.js @@ -160,6 +160,10 @@ Read the candles and volumes from Bruce and produce a file for each day and for } catch (err) { logger.write("[ERROR] start -> getContextVariables -> err = " + err.message); + if (err.message === "Cannot read property 'file' of undefined") { + logger.write("[HINT] start -> getContextVariables -> Check the bot configuration to see if all of its dependencies declarations are correct. "); + logger.write("[HINT] start -> getContextVariables -> Dependencies loaded -> keys = " + JSON.stringify(dependencies.keys)); + } callBackFunction(global.DEFAULT_FAIL_RESPONSE); } } diff --git a/Multi-Period-Market/User.bot.js b/Multi-Period-Market/User.bot.js index cdeb31b44..6f11306d0 100644 --- a/Multi-Period-Market/User.bot.js +++ b/Multi-Period-Market/User.bot.js @@ -160,6 +160,10 @@ Read the candles and volumes from Bruce and produce a single Index File for Mark } catch (err) { logger.write("[ERROR] start -> getContextVariables -> err = " + err.message); + if (err.message === "Cannot read property 'file' of undefined") { + logger.write("[HINT] start -> getContextVariables -> Check the bot configuration to see if all of its dependencies declarations are correct. "); + logger.write("[HINT] start -> getContextVariables -> Dependencies loaded -> keys = " + JSON.stringify(dependencies.keys)); + } callBackFunction(global.DEFAULT_FAIL_RESPONSE); } }