mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
fix(nuget): log registry url (#7583)
This commit is contained in:
parent
55ca3ecaa3
commit
90f914b57c
1 changed files with 6 additions and 3 deletions
|
@ -74,15 +74,18 @@ export async function getResourceUrl(
|
|||
resourceType === 'RegistrationsBaseUrl' &&
|
||||
!semver.satisfies(version, '^3.0.0')
|
||||
) {
|
||||
logger.warn(`Nuget: RegistrationsBaseUrl/${version} is the major update`);
|
||||
logger.warn(
|
||||
{ url },
|
||||
`Nuget: RegistrationsBaseUrl/${version} is the major update`
|
||||
);
|
||||
}
|
||||
|
||||
await packageCache.set(cacheNamespace, resultCacheKey, serviceId, 60);
|
||||
return serviceId;
|
||||
} catch (err) {
|
||||
logger.debug(
|
||||
{ err },
|
||||
`nuget registry failure: can't get ${resourceType} form ${url}`
|
||||
{ err, url },
|
||||
`nuget registry failure: can't get ${resourceType}`
|
||||
);
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue