logs: log regUrl for mismatched npm lookup

This commit is contained in:
Rhys Arkins 2018-07-05 15:42:02 +02:00
parent 14712ca5f8
commit b2183fe0c2

View file

@ -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;