From 1ec5b701fc83558619454257069725df30f64d38 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 26 Feb 2026 11:53:26 +0000 Subject: [PATCH] Reduce log levels for registry connection checks --- lib/start-proxy-action.js | 6 +++--- src/start-proxy/reachability.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index 6409ded796..bc334ea315 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -122076,9 +122076,9 @@ async function checkConnections(logger, proxy, backend) { result.add(registry); } catch (e) { if (e instanceof ReachabilityError && e.statusCode !== void 0) { - logger.error(`Connection test to ${url} failed. (${e.statusCode})`); + logger.info(`Connection test to ${url} failed. (${e.statusCode})`); } else { - logger.error( + logger.warning( `Connection test to ${url} failed: ${getErrorMessage(e)}` ); } @@ -122086,7 +122086,7 @@ async function checkConnections(logger, proxy, backend) { } logger.debug(`Finished testing connections to private registries.`); } catch (e) { - logger.error( + logger.warning( `Failed to test connections to private registries: ${getErrorMessage(e)}` ); } diff --git a/src/start-proxy/reachability.ts b/src/start-proxy/reachability.ts index 2951c8a0c9..8ba5418e16 100644 --- a/src/start-proxy/reachability.ts +++ b/src/start-proxy/reachability.ts @@ -110,9 +110,9 @@ export async function checkConnections( result.add(registry); } catch (e) { if (e instanceof ReachabilityError && e.statusCode !== undefined) { - logger.error(`Connection test to ${url} failed. (${e.statusCode})`); + logger.info(`Connection test to ${url} failed. (${e.statusCode})`); } else { - logger.error( + logger.warning( `Connection test to ${url} failed: ${getErrorMessage(e)}`, ); } @@ -121,7 +121,7 @@ export async function checkConnections( logger.debug(`Finished testing connections to private registries.`); } catch (e) { - logger.error( + logger.warning( `Failed to test connections to private registries: ${getErrorMessage(e)}`, ); }