From bf9c4a84c7efb467c5ac1dfb4162c03e148f292e Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Wed, 13 Feb 2019 14:26:13 -0500
Subject: [PATCH] fix(bundler): catch authentication requirement

---
 lib/manager/bundler/artifacts.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/manager/bundler/artifacts.js b/lib/manager/bundler/artifacts.js
index 57e38f37d3..3dd6219361 100644
--- a/lib/manager/bundler/artifacts.js
+++ b/lib/manager/bundler/artifacts.js
@@ -166,8 +166,9 @@ async function getArtifacts(
       throw new Error('bundler-fs');
     }
     if (
-      err.stdout &&
-      err.stdout.includes('Please supply credentials for this source')
+      (err.stdout &&
+        err.stdout.includes('Please supply credentials for this source')) ||
+      (err.stderr && err.stderr.includes('Authentication is required'))
     ) {
       logger.warn(
         { err },
-- 
GitLab