diff --git a/src/main/java/org/openrewrite/maven/MavenLoggingResolutionEventListener.java b/src/main/java/org/openrewrite/maven/MavenLoggingResolutionEventListener.java index 99ba40f4..0305a476 100644 --- a/src/main/java/org/openrewrite/maven/MavenLoggingResolutionEventListener.java +++ b/src/main/java/org/openrewrite/maven/MavenLoggingResolutionEventListener.java @@ -46,7 +46,8 @@ public void downloadError(GroupArtifactVersion gav, List 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) {