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:
parent
d585e1bef6
commit
546b0eb582
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue