From ef7e3c1f78d869a026d89b4419e156006c573fdc Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Wed, 3 Feb 2021 22:31:01 +0100
Subject: [PATCH] fix(git): external host error for host resolution failure

---
 lib/util/git/index.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts
index ecfd40abc4..99162dadc5 100644
--- a/lib/util/git/index.ts
+++ b/lib/util/git/index.ts
@@ -70,6 +70,7 @@ function checkForPlatformFailure(err: Error): void {
     'Connection timed out',
     'malformed object name',
     'TF401027:', // You need the Git 'GenericContribute' permission to perform this action
+    'Could not resolve host',
   ];
   for (const errorStr of externalHostFailureStrings) {
     if (err.message.includes(errorStr)) {
-- 
GitLab