PROCESS INSTANCE LOGGER cleaned

This commit is contained in:
Luis Fernando Molina committed 2020-12-01 12:08:19 +01:00
1 parent 28f4c56d56
commit 103e4d0cce
68 files changed
+172 -188

No files matched your search

+1 -3
View File
@@ -22,7 +22,7 @@ exports.newDataSet = function (processIndex, logger) {
try {
thisObject.node = dataDependency.referenceParent;
logger.fileName = MODULE_NAME
/* Some very basic validations that we have all the information needed. */
if (thisObject.node === undefined) {
@@ -31,8 +31,6 @@ exports.newDataSet = function (processIndex, logger) {
return
}
logger.fileName = MODULE_NAME + "." + thisObject.node.type + "." + thisObject.node.name + "." + thisObject.node.id;
if (thisObject.node.config.codeName === undefined) {
logger.write(MODULE_NAME, "[ERROR] initialize -> Dataset witn no codeName defined -> Product Dataset = " + JSON.stringify(thisObject.node));
callBackFunction(TS.projects.superalgos.globals.standardResponses.DEFAULT_FAIL_RESPONSE);