From a105cf2a99fa26efd0c5a01afced8c99c32a3f0d Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 19 Jun 2025 06:54:54 -0400 Subject: [PATCH] collect_loan_user_salary_detect --- app/routes/autocall.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/routes/autocall.py b/app/routes/autocall.py index de55a0f..a29b913 100644 --- a/app/routes/autocall.py +++ b/app/routes/autocall.py @@ -146,7 +146,12 @@ def salary_detect(): # ) # by the time you call this you must be on repayment table - SimbrellaClient.collect_loan_user_salary_detect(data) + try: + SimbrellaClient.collect_loan_user_salary_detect(data) + except Exception as e: + logger.info(f"Failed to call collect_loan_user_salary_detect: {e}") + + return_data=[] return ResponseHelper.success(return_data, "AutoCall Successful")