Standarizing
This commit is contained in:
1 parent
982efef1b0
commit
3b8f87dbd7
3 files changed
+4
-4
No files matched your search
@@ -263,14 +263,14 @@ exports.newAzureFileStorage = function newAzureFileStorage(BOT) {
|
||||
|
||||
/* This is how Azure tell us the folder where the file was supposed to be does not exist. We map this to our own response. */
|
||||
|
||||
let customResponse = {
|
||||
result: global.DEFAULT_FAIL_RESPONSE.result,
|
||||
let customErr = {
|
||||
result: global.CUSTOM_FAIL_RESPONSE.result,
|
||||
message: "Folder does not exist."
|
||||
};
|
||||
|
||||
logger.write("[ERROR] getTextFile -> onFileReceived -> Custom Response -> message = " + customResponse.message);
|
||||
|
||||
callBackFunction(customResponse);
|
||||
callBackFunction(customErr);
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user