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:
parent
f954b7ff03
commit
b1e9cfdc95
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue