More logs

This commit is contained in:
Luis Fernando Molina committed 2018-03-26 16:14:24 +02:00
1 parent 2d4398574a
commit abea7c2096
3 files changed
+8

No files matched your search

Binary file not shown.
+4
View File
@@ -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);
}
}
+4
View File
@@ -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);
}
}