From e00279bd29e08c26f76ea8fff9c31e9f4e03cf40 Mon Sep 17 00:00:00 2001 From: Adam Saghy Date: Fri, 19 Jan 2024 13:09:52 +0100 Subject: [PATCH] FINERACT-1971: Error log when exception happened during batch execution --- .../org/apache/fineract/batch/service/BatchApiServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/fineract-core/src/main/java/org/apache/fineract/batch/service/BatchApiServiceImpl.java b/fineract-core/src/main/java/org/apache/fineract/batch/service/BatchApiServiceImpl.java index f3104b543..b8121212e 100644 --- a/fineract-core/src/main/java/org/apache/fineract/batch/service/BatchApiServiceImpl.java +++ b/fineract-core/src/main/java/org/apache/fineract/batch/service/BatchApiServiceImpl.java @@ -148,6 +148,7 @@ public class BatchApiServiceImpl implements BatchApiService { responseList.addAll(request.get()); return responseList; } catch (BatchExecutionException ex) { + log.error("Exception during the batch request processing", ex); responseList.add(buildErrorResponse(ex.getCause(), ex.getRequest())); return responseList; } finally {