diff --git a/.vs/AACloud/v15/.suo b/.vs/AACloud/v15/.suo index 635a925b3..bcf285694 100644 Binary files a/.vs/AACloud/v15/.suo and b/.vs/AACloud/v15/.suo differ diff --git a/Project.njsproj b/Project.njsproj index 9f1586e98..07ac7b0e4 100644 --- a/Project.njsproj +++ b/Project.njsproj @@ -13,7 +13,7 @@ 14.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) Project - Multi-Period-Market + Multi-Period-Daily C:\Program Files\nodejs\node.exe False diff --git a/Status Report.js b/Status Report.js index f577ca3a7..f47740eb1 100644 --- a/Status Report.js +++ b/Status Report.js @@ -97,7 +97,7 @@ callBackFunction(err); return; } - case global.CUSTOM_FAIL_RESPONSE.result: { + case global.CUSTOM_OK_RESPONSE.result: { logger.write("[INFO] initialize -> onDone -> Execution finished with some expected issue."); callBackFunction(err); return; @@ -133,12 +133,12 @@ thisObject.file = JSON.parse('{}'); - let customErr = { - result: global.CUSTOM_FAIL_RESPONSE.result, + let customOK = { + result: global.CUSTOM_OK_RESPONSE.result, message: "Status Report was never created." } - logger.write("[ERROR] save -> err = " + err.message); - callBack(customErr); + logger.write("[WARN] initialize -> getFile -> onFileReceived -> customOK = " + err.message); + callBack(customOK); return; } @@ -196,7 +196,7 @@ result: global.CUSTOM_FAIL_RESPONSE.result, message: "Only bots owners of a Status Report can save them." } - logger.write("[ERROR] save -> err = " + err.message); + logger.write("[ERROR] save -> customErr = " + err.message); callBackFunction(customErr); return; }