kafka collect error

This commit is contained in:
CHIEFSOFT\ameye
2025-06-21 11:11:45 -04:00
parent caa77191c7
commit 8249a1b6d8
2 changed files with 13 additions and 3 deletions
+11 -2
View File
@@ -181,8 +181,17 @@ class SimbrellaClient:
@staticmethod
def collect_loan_user_initiated(data):
# InitiatedBy = USER_INITIATED
logger.info(f"Calling CollectLoan collect_loan_user_initiated ******* endpoint with data: {data}")
return SimbrellaClient._collect_loan(data,"1")
try:
logger.info(f"Calling CollectLoan collect_loan_user_initiated ******* endpoint with data: {data}")
return SimbrellaClient._collect_loan(data, "1")
except Exception as e:
logger.error(f"Error in collect_loan_user_initiated: {e}")
# return ResponseHelper.error(
# message="Failed to collect loan for user initiated ",
# status_code=500,
# error=str(e)
# )
@staticmethod
def collect_loan_user_salary_detect(data):
try: