From e0c11028ecb4c5e60351eb13e076273f1a3975a0 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Wed, 15 Jan 2020 02:54:57 +0100
Subject: [PATCH] =?UTF-8?q?fix(bundler):=20Detect=20=E2=80=9CPlease=20make?=
 =?UTF-8?q?=20sure=20you=20have=20the=20correct=20access=20rights=E2=80=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/manager/bundler/artifacts.ts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/manager/bundler/artifacts.ts b/lib/manager/bundler/artifacts.ts
index b869f25f7a..251f34abc1 100644
--- a/lib/manager/bundler/artifacts.ts
+++ b/lib/manager/bundler/artifacts.ts
@@ -148,7 +148,11 @@ export async function updateArtifacts(
     if (
       (err.stdout &&
         err.stdout.includes('Please supply credentials for this source')) ||
-      (err.stderr && err.stderr.includes('Authentication is required'))
+      (err.stderr && err.stderr.includes('Authentication is required')) ||
+      (err.stderr &&
+        err.stderr.includes(
+          'Please make sure you have the correct access rights'
+        ))
     ) {
       logger.info(
         { err },
-- 
GitLab