updated comment
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@167183 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
5dc85cb43b
commit
93e79b7417
|
@ -92,7 +92,7 @@ public class CkanCatalogueConfigurationsReader {
|
|||
* @throws Exception
|
||||
*/
|
||||
public static CkanDataset getDataset(String datasetIdorName, String catalogueURL) throws Exception{
|
||||
logger.info("Request GET CKAN dataset with id: " + datasetIdorName);
|
||||
logger.info("Performing request GET CKAN dataset with id: " + datasetIdorName);
|
||||
|
||||
// checks
|
||||
checkNotNull(datasetIdorName);
|
||||
|
@ -101,7 +101,7 @@ public class CkanCatalogueConfigurationsReader {
|
|||
CkanClient client = new CkanClient(catalogueURL);
|
||||
return client.getDataset(datasetIdorName);
|
||||
}catch(CkanException e){
|
||||
logger.info("CkanException thrown, returning null");
|
||||
logger.info("Getting dataset "+datasetIdorName+" thrown a CkanException, returning null");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue