Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
JNSimba committed Feb 23, 2024
1 parent 42cdf52 commit b62e3ca
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ public String getAvailableBackend() {

public static boolean tryHttpConnection(String host) {
try {
LOG.debug("try to connect host {}", host);
if (LOG.isDebugEnabled()) {
LOG.debug("try to connect host {}", host);
}
host = "http://" + host;
URL url = new URL(host);
HttpURLConnection co = (HttpURLConnection) url.openConnection();
Expand Down

0 comments on commit b62e3ca

Please sign in to comment.