FINERACT-1971: Error log when exception happened during batch execution
This commit is contained in:
committed by
Arnold Gálovics
parent
d56cf85dcd
commit
e00279bd29
@@ -148,6 +148,7 @@ public class BatchApiServiceImpl implements BatchApiService {
|
|||||||
responseList.addAll(request.get());
|
responseList.addAll(request.get());
|
||||||
return responseList;
|
return responseList;
|
||||||
} catch (BatchExecutionException ex) {
|
} catch (BatchExecutionException ex) {
|
||||||
|
log.error("Exception during the batch request processing", ex);
|
||||||
responseList.add(buildErrorResponse(ex.getCause(), ex.getRequest()));
|
responseList.add(buildErrorResponse(ex.getCause(), ex.getRequest()));
|
||||||
return responseList;
|
return responseList;
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user