Skip to content

Commit

Permalink
Added debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rylern committed Feb 26, 2024
1 parent b62f4bd commit 370c5a2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,11 @@ private static Optional<WebClient> getClientAndCheckURIReachable(URI uri, String
if (client.getStatus().equals(WebClient.Status.SUCCESS)) {
return Optional.of(client);
} else {
logger.error("Client creation failed");
logger.debug("Client creation failed");
return Optional.empty();
}
} else {
logger.debug(String.format("Link %s not reachable; OMERO can't open it", uri));
return Optional.empty();
}
} catch (InterruptedException | ExecutionException e) {
Expand Down

0 comments on commit 370c5a2

Please sign in to comment.