From c42d6cb21d3fe2eeeb3f52a5d673aea8bb277c0f Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Wed, 14 Aug 2019 17:12:16 +0200
Subject: [PATCH] fix(gitlab): handle ETIMEDOUT

---
 lib/platform/gitlab/gl-got-wrapper.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/platform/gitlab/gl-got-wrapper.ts b/lib/platform/gitlab/gl-got-wrapper.ts
index 7303026650..d6ef0dfb65 100644
--- a/lib/platform/gitlab/gl-got-wrapper.ts
+++ b/lib/platform/gitlab/gl-got-wrapper.ts
@@ -35,6 +35,7 @@ async function get(path: string, options: any) {
       throw new Error('platform-failure');
     }
     if (
+      err.code === 'ETIMEDOUT' ||
       err.code === 'ECONNRESET' ||
       err.code === 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
     ) {
-- 
GitLab