Returning File Not Found in Code

This commit is contained in:
Luis Fernando Molina committed 2019-05-18 13:29:21 +02:00
1 parent 7bdb6e697a
commit 524778d0cd
1 file changed
+7 -1
+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;
}