Skip to content

Commit 3c83f57

Browse files
authored
Merge pull request #3516 from github/mbg/start-proxy/reduce-connection-check-severity
2 parents 20f148b + 0d5f706 commit 3c83f57

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/start-proxy-action.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/start-proxy/reachability.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ export async function checkConnections(
110110
result.add(registry);
111111
} catch (e) {
112112
if (e instanceof ReachabilityError && e.statusCode !== undefined) {
113-
logger.error(`Connection test to ${url} failed. (${e.statusCode})`);
113+
logger.info(`Connection test to ${url} failed. (${e.statusCode})`);
114114
} else {
115-
logger.error(
115+
logger.warning(
116116
`Connection test to ${url} failed: ${getErrorMessage(e)}`,
117117
);
118118
}
@@ -121,7 +121,7 @@ export async function checkConnections(
121121

122122
logger.debug(`Finished testing connections to private registries.`);
123123
} catch (e) {
124-
logger.error(
124+
logger.warning(
125125
`Failed to test connections to private registries: ${getErrorMessage(e)}`,
126126
);
127127
}

0 commit comments

Comments
 (0)