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

fix(docker): pass registry-failure up

parent b2d58148
No related branches found
Tags v11.11.8
No related merge requests found
......@@ -419,6 +419,9 @@ async function getLabels(registry, repository, tag) {
await renovateCache.set(cacheNamespace, cacheKey, labels, cacheMinutes);
return labels;
} catch (err) {
if (err.message === 'registry-failure') {
throw err;
}
if (err.statusCode === 401) {
logger.info(
{ registry, dockerRepository: repository },
......
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