This is an automated email from the ASF dual-hosted git repository.

arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new e00279bd2 FINERACT-1971: Error log when exception happened during 
batch execution
e00279bd2 is described below

commit e00279bd29e08c26f76ea8fff9c31e9f4e03cf40
Author: Adam Saghy <[email protected]>
AuthorDate: Fri Jan 19 13:09:52 2024 +0100

    FINERACT-1971: Error log when exception happened during batch execution
---
 .../main/java/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 {

Reply via email to