Skip to content

Commit

Permalink
Do not log stacktrace for repositoryAccessFailed (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Jul 4, 2024
1 parent 3db3774 commit d5e4d37
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public void downloadError(GroupArtifactVersion gav, List<String> attemptedUris,

@Override
public void repositoryAccessFailed(String uri, Throwable e) {
logger.warn("Failed to access maven repository " + uri, e);
logger.warn("Failed to access maven repository " + uri + " due to: " + e.getMessage());
logger.debug(e);
}

private static String pomContaining(@Nullable Pom containing) {
Expand Down

0 comments on commit d5e4d37

Please sign in to comment.