Skip to content

Commit

Permalink
logs: lower maven log levels for failures
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jun 29, 2020
1 parent a99ef9d commit fc41751
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/datasource/maven/util.ts
Expand Up @@ -65,12 +65,12 @@ export async function downloadHttpProtocol(
} catch (err) {
const failedUrl = pkgUrl.toString();
if (isNotFoundError(err)) {
logger.debug({ failedUrl }, `Url not found`);
logger.trace({ failedUrl }, `Url not found`);
} else if (isHostError(err)) {
// istanbul ignore next
logger.warn({ failedUrl }, `Cannot connect to ${hostType} host`);
logger.debug({ failedUrl }, `Cannot connect to ${hostType} host`);
} else if (isPermissionsIssue(err)) {
logger.warn(
logger.debug(
{ failedUrl },
'Dependency lookup unauthorized. Please add authentication with a hostRule'
);
Expand Down

0 comments on commit fc41751

Please sign in to comment.