You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ad...@apache.org on 2024/02/21 10:02:59 UTC

(fineract) branch develop updated: FINERACT-1477: Change the logging level for InsufficientAccountBalanceException in batch job

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

adamsaghy 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 3a3b95491 FINERACT-1477: Change the logging level for InsufficientAccountBalanceException in batch job
3a3b95491 is described below

commit 3a3b95491dd70c4662a9ca38cba4585c4b1214f0
Author: goyalrocks007 <ud...@gmail.com>
AuthorDate: Wed Jan 24 22:20:51 2024 +0530

    FINERACT-1477: Change the logging level for InsufficientAccountBalanceException in batch job
---
 .../transferinteresttosavings/TransferInterestToSavingsTasklet.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/jobs/transferinteresttosavings/TransferInterestToSavingsTasklet.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/jobs/transferinteresttosavings/TransferInterestToSavingsTasklet.java
index 15252d122..0632438c1 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/jobs/transferinteresttosavings/TransferInterestToSavingsTasklet.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/jobs/transferinteresttosavings/TransferInterestToSavingsTasklet.java
@@ -53,7 +53,7 @@ public class TransferInterestToSavingsTasklet implements Tasklet {
                         accountTransferDTO.getToAccountId(), e);
                 errors.add(e);
             } catch (final InsufficientAccountBalanceException e) {
-                log.error("InsufficientAccountBalanceException while trasfering Interest from {} to {} ",
+                log.warn("InsufficientAccountBalanceException while trasfering Interest from {} to {} ",
                         accountTransferDTO.getFromAccountId(), accountTransferDTO.getToAccountId(), e);
                 errors.add(e);
             }