Adding fix for a new dns error when trying to connect to Azure

The execution will wait for a moment and then retry when there is a connection issue.
This commit is contained in:
Matias Benitez committed 2018-07-05 15:25:36 -03:00
1 parent 76bde8d220
commit 49877c1487
1 file changed
+4 -2
+4 -2
View File
@@ -156,7 +156,8 @@ exports.newBlobStorage = function newBlobStorage(BOT, logger) {
err.code === 'EADDRINUSE' ||
err.code === 'AuthenticationFailed' ||
err.code === 'OperationTimedOut' ||
err.code === 'ServerBusy'
err.code === 'ServerBusy' ||
err.code === 'EAI_AGAIN'
)
{
@@ -277,7 +278,8 @@ exports.newBlobStorage = function newBlobStorage(BOT, logger) {
err.code === 'EADDRINUSE' ||
err.code === 'AuthenticationFailed' ||
err.code === 'OperationTimedOut' ||
err.code === 'ServerBusy'
err.code === 'ServerBusy' ||
err.code === 'EAI_AGAIN'
)
{