diff --git a/.vs/AACloud/v15/.suo b/.vs/AACloud/v15/.suo index 5f5fe58a1..657e0cba2 100644 Binary files a/.vs/AACloud/v15/.suo and b/.vs/AACloud/v15/.suo differ diff --git a/File Storage.js b/File Storage.js index 02e146e26..496873ae4 100644 --- a/File Storage.js +++ b/File Storage.js @@ -164,7 +164,9 @@ exports.newFileStorage = function newFileStorage(BOT) { logger.write("[ERROR] createTextFile -> onFileCreated -> result = " + JSON.stringify(result)); logger.write("[ERROR] createTextFile -> onFileCreated -> response = " + JSON.stringify(response)); - if (err.message.indexOf("The server is busy") > 0 || err.code === 'ECONNRESET') { + if (err.message.indexOf("The server is busy") > 0 + || err.code === 'ECONNRESET' + || err.code === 'ENOTFOUND') { setTimeout(secondTry, 1000); return; @@ -237,8 +239,10 @@ exports.newFileStorage = function newFileStorage(BOT) { if (err) { - if (err.message.indexOf("The server is busy") > 0 || err.code === 'ECONNRESET') { - + if (err.message.indexOf("The server is busy") > 0 + || err.code === 'ECONNRESET' + || err.code === 'ENOTFOUND') { + setTimeout(secondTry, 1000); return;