Skip to content

Commit f30549c

Browse files
authored
Merge pull request #501 from chrisribble/master
Log connect failures in BalancedClickhouseDataSource
2 parents 785d5f6 + c0c2d16 commit f30549c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/ru/yandex/clickhouse/BalancedClickhouseDataSource.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ private boolean ping(final String url) {
144144
driver.connect(url, properties).createStatement().execute("SELECT 1");
145145
return true;
146146
} catch (Exception e) {
147+
log.debug("Unable to connect using {}", url, e);
147148
return false;
148149
}
149150
}

0 commit comments

Comments
 (0)