Merge pull request #40 from AAMasters/develop

Returning File Not Found in Code
This commit is contained in:
benme authored and GitHub committed 2019-05-19 09:37:48 -03:00
commit fcbea83deb
2 files changed
+15 -9

No files matched your search

+8 -8
View File
@@ -28,7 +28,14 @@ function newAppLoader () {
'Globals.js',
'Ecosystem.js',
'MQService',
'MQService',
'ChartsSpace/ChartUtilities.js',
'ChartsSpace/PlottersManager.js',
'ChartsSpace/TimelineChart.js',
'ChartsSpace/TimeMachine.js',
'ChartsSpace/ViewPort.js',
'ChartsSpace/TimeLineCoordinateSystem.js',
'TopSpace/CurrentEvent.js',
'TopSpace/EndUser.js',
@@ -84,13 +91,6 @@ function newAppLoader () {
'Scales/TimePeriodScale.js',
'Scales/Commons.js',
'ChartsSpace/ChartUtilities.js',
'ChartsSpace/PlottersManager.js',
'ChartsSpace/TimelineChart.js',
'ChartsSpace/TimeMachine.js',
'ChartsSpace/ViewPort.js',
'ChartsSpace/TimeLineCoordinateSystem.js',
'CockpitSpace/AssetBalances.js',
'CockpitSpace/Speedometer.js',
'CockpitSpace/RestartSimulation.js',
+7 -1
View File
@@ -132,7 +132,13 @@
if (CONSOLE_ERROR_LOG === true) { console.log("[ERROR] Azure Storage -> readData -> onFileReceived -> err = " + JSON.stringify(err)); }
if (CONSOLE_ERROR_LOG === true) { console.log("[ERROR] Azure Storage -> readData -> onFileReceived -> Returning an empty JSON object string. "); }
callBackFunction(global.DEFAULT_FAIL_RESPONSE);
let response = {
result: global.DEFAULT_FAIL_RESPONSE.result,
message: global.DEFAULT_FAIL_RESPONSE.message,
code: 'FileNotFound'
}
callBackFunction(response);
return;
}