Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 1f08ce4

Browse files
Improve log message.
1 parent 3968faf commit 1f08ce4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

neo4j-java-driver-spring-boot-autoconfigure/src/main/java/org/neo4j/driver/springframework/boot/autoconfigure/Neo4jDriverMetricsAutoConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ public void bindDataSourcesToRegistry(Map<String, Driver> drivers, MeterRegistry
6868
.verifyConnectivityAsync()
6969
.thenRunAsync(() -> new Neo4jDriverMetrics(name, driver, Collections.emptyList()).bindTo(registry))
7070
.exceptionally(e -> {
71-
logger.warn("Could not verify connection for " + driver + " and thus not bind to metrics.", e);
71+
logger.warn("Could not verify connection for " + driver + " and thus not bind to metrics: " + e
72+
.getMessage());
7273
return null;
7374
});
7475
});

0 commit comments

Comments
 (0)