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")