diff --git a/src/main/java/org/gcube/resources/discovery/icclient/ICClient.java b/src/main/java/org/gcube/resources/discovery/icclient/ICClient.java index 015cb2f..9b1de1d 100644 --- a/src/main/java/org/gcube/resources/discovery/icclient/ICClient.java +++ b/src/main/java/org/gcube/resources/discovery/icclient/ICClient.java @@ -47,7 +47,7 @@ public class ICClient implements DiscoveryClient { return splitIntoList(results); } catch(MalformedQueryException e) { - throw new DiscoveryException("malformed query "+query.expression(),e); + throw new DiscoveryException("malformed query {} "+query.expression(),e); } catch(SOAPFaultException e) { throw new RuntimeException(JAXWSUtils.remoteCause(e)); @@ -78,7 +78,7 @@ public class ICClient implements DiscoveryClient { //find endpoint address in service map currently in scope String address = ServiceMap.instance.endpoint(localname); - log.info("connectinfg to "+address); + log.info("connectinfg to {} ",address); //obtain a JAXWS stub configured for gCube calls return stubFor(collector).at(URI.create(address)); }