From 9e59c25d77c10a52cddba7f7106e287fa524fee1 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 23 Mar 2018 15:54:06 +0100 Subject: [PATCH] new err code for timeout --- .vs/AACloud/v15/.suo | Bin 89600 -> 89600 bytes File Storage.js | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.vs/AACloud/v15/.suo b/.vs/AACloud/v15/.suo index 657e0cba2ad131b7a172d951beb8e76a9ab076db..e61e3818614ff4563cfd9cc691e5536691e0c079 100644 GIT binary patch delta 77 zcmZqJ!`iTibwdslt3llR4cj&sGW}*|-B9v%ACSq$_*8HP0|KlBGHo_Dzkbh-P55(d F762Kv7m@$~ delta 77 zcmZqJ!`iTibwdslt3v+bxXqgjnSL{~PDrjv0y5bcp9 0 || err.code === 'ECONNRESET' - || err.code === 'ENOTFOUND') { + || err.code === 'ENOTFOUND' + || err.code === 'ESOCKETTIMEDOUT') { setTimeout(secondTry, 1000); return; @@ -241,7 +242,8 @@ exports.newFileStorage = function newFileStorage(BOT) { if (err.message.indexOf("The server is busy") > 0 || err.code === 'ECONNRESET' - || err.code === 'ENOTFOUND') { + || err.code === 'ENOTFOUND' + || err.code === 'ESOCKETTIMEDOUT') { setTimeout(secondTry, 1000); return;