Skip to content
Snippets Groups Projects
Commit b2183fe0 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

logs: log regUrl for mismatched npm lookup

parent 14712ca5
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ async function getDependencyInner(name, retries = 5) { ...@@ -149,7 +149,7 @@ async function getDependencyInner(name, retries = 5) {
})).body; })).body;
if (res.name !== name) { if (res.name !== name) {
logger.warn( logger.warn(
{ lookupName: name, returnedName: res.name }, { lookupName: name, returnedName: res.name, regUrl },
'Returned name does not match with requested name' 'Returned name does not match with requested name'
); );
return null; return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment