Catching the proper exception

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154624 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-09-26 14:55:56 +00:00
parent f954b7ff03
commit b1e9cfdc95
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public class Aggregator {
try {
originalRecordsCounter = elaborateRow(row, aggregatorBuffer, originalRecordsCounter);
break;
}catch (Exception e) {
}catch (RuntimeException e) {
if(i==2){
logger.error("Unable to elaborate {} {}. Tryed {} times.", ViewRow.class.getSimpleName(), row, i, e);
}