From b2183fe0c23be9af6fefc4c2b42e9ef025b9c3dc Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Thu, 5 Jul 2018 15:42:02 +0200
Subject: [PATCH] logs: log regUrl for mismatched npm lookup

---
 lib/datasource/npm.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/datasource/npm.js b/lib/datasource/npm.js
index 14c66fdb70..db6f3dd5f2 100644
--- a/lib/datasource/npm.js
+++ b/lib/datasource/npm.js
@@ -149,7 +149,7 @@ async function getDependencyInner(name, retries = 5) {
     })).body;
     if (res.name !== name) {
       logger.warn(
-        { lookupName: name, returnedName: res.name },
+        { lookupName: name, returnedName: res.name, regUrl },
         'Returned name does not match with requested name'
       );
       return null;
-- 
GitLab