Reduce log levels for registry connection checks

This commit is contained in:
Michael B. Gale
2026-02-26 11:53:26 +00:00
parent c0fc915677
commit 1ec5b701fc
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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)}`,
);
}