Bug fixes fileStorage removed, new error code at Storage
This commit is contained in:
1 parent
e582c5f0ab
commit
c48824391c
3 files changed
+6
-5
No files matched your search
+4
-2
@@ -135,7 +135,8 @@ exports.newBlobStorage = function newBlobStorage(BOT) {
|
||||
|| err.code === 'ESOCKETTIMEDOUT'
|
||||
|| err.code === 'ETIMEDOUT'
|
||||
|| err.code === 'ECONNREFUSED'
|
||||
|| (err.code === 'AuthenticationFailed' && err.authenticationerrordetail.indexOf('Request date header too old') === 0)) {
|
||||
|| (err.code === 'AuthenticationFailed' && err.authenticationerrordetail.indexOf('Request date header too old') === 0)
|
||||
|| err.code === 'OperationTimedOut') {
|
||||
|
||||
setTimeout(secondTry, 1000);
|
||||
return;
|
||||
@@ -214,7 +215,8 @@ exports.newBlobStorage = function newBlobStorage(BOT) {
|
||||
|| err.code === 'ESOCKETTIMEDOUT'
|
||||
|| err.code === 'ETIMEDOUT'
|
||||
|| err.code === 'ECONNREFUSED'
|
||||
|| (err.code === 'AuthenticationFailed' && err.authenticationerrordetail.indexOf('Request date header too old') === 0)) {
|
||||
|| (err.code === 'AuthenticationFailed' && err.authenticationerrordetail.indexOf('Request date header too old') === 0)
|
||||
|| err.code === 'OperationTimedOut') {
|
||||
|
||||
setTimeout(secondTry, 1000);
|
||||
return;
|
||||
|
||||
@@ -146,7 +146,6 @@
|
||||
|
||||
const UTILITIES = require(ROOT_DIR + 'CloudUtilities');
|
||||
const BLOB_STORAGE = require(ROOT_DIR + 'BlobStorage');
|
||||
const FILE_STORAGE = require(ROOT_DIR + 'FileStorage');
|
||||
const DEBUG_MODULE = require(ROOT_DIR + 'DebugLog');
|
||||
const STATUS_REPORT = require(ROOT_DIR + 'StatusReport');
|
||||
const STATUS_DEPENDENCIES = require(ROOT_DIR + 'StatusDependencies');
|
||||
@@ -229,7 +228,7 @@
|
||||
|
||||
if (FULL_LOG === true) { logger.write("[INFO] run -> loop -> initializeUserBot -> Entering function."); }
|
||||
|
||||
usertBot = USER_BOT_MODULE.newUserBot(bot, COMMONS_MODULE, UTILITIES, DEBUG_MODULE, BLOB_STORAGE, FILE_STORAGE);
|
||||
usertBot = USER_BOT_MODULE.newUserBot(bot, COMMONS_MODULE, UTILITIES, DEBUG_MODULE, BLOB_STORAGE);
|
||||
|
||||
usertBot.initialize(statusDependencies, pMonth, pYear, onInizialized);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
global.CURRENT_ENVIRONMENT = "Develop";
|
||||
global.CURRENT_EXECUTION_AT = "Cloud";
|
||||
global.SHALL_BOT_STOP = false;
|
||||
global.USER_LOGGED_IN = "ciencias";
|
||||
global.USER_LOGGED_IN = "Ciencias";
|
||||
global.DEV_TEAM = "AAMasters";
|
||||
global.AT_BREAKPOINT = false; // This is used only when running at the browser.
|
||||
|
||||
|
||||
Reference in new issue
Block a user