minor fix for grsf updater service

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139880 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-12-10 10:54:25 +00:00
parent d585e1bef6
commit 546b0eb582
1 changed files with 2 additions and 3 deletions

View File

@ -264,6 +264,7 @@ public class GRSFNotificationService {
if((errorMessage = catalogue.patchProductWithJSON(bean.getCatalogueIdentifier(), jsonRequest, apiKey)) == null){
logger.info("Record patched ...");
break;
}else
continue; // retry
@ -271,9 +272,7 @@ public class GRSFNotificationService {
logger.error("Error while trying to patch grsf record (iteration " + i + " of " + MAX_TRIAL + ")" + e.getMessage());
errorMessage = e.getMessage();
}
return errorMessage;
}
return errorMessage;
}
}