From 4a81c20c9a65acda68ce8335e5b354747fc7b5ec Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Fri, 9 Aug 2019 09:28:40 +0300 Subject: [PATCH] fix(gitfs): platform-failure for Failed to connect --- lib/platform/git/storage.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/platform/git/storage.ts b/lib/platform/git/storage.ts index ce7d7346ed..1b8e3b38e4 100644 --- a/lib/platform/git/storage.ts +++ b/lib/platform/git/storage.ts @@ -476,6 +476,7 @@ function checkForPlatformFailure(err: Error) { 'The remote end hung up unexpectedly', 'access denied or repository not exported', 'Could not write new index file', + 'Failed to connect to', ]; for (const errorStr of platformErrorStrings) { if (err.message.includes(errorStr)) { -- GitLab