Update eligibility_check.py

This commit is contained in:
VivianDee
2025-05-29 13:00:51 -04:00
parent f716b47603
commit d1b8d15f31
+6
View File
@@ -70,6 +70,12 @@ class EligibilityCheckService(BaseService):
return ResponseHelper.error(result_description="RACCheck failed")
response = response.json()
logger.info(f"This is Response (from Eligibility Check): {str(response)}", exc_info=True)
# Handle this error response
# 2025-05-29 16:23:18,685 - INFO - This is Response (Eligibility Check): {'data': None, 'responseCode': '04', 'responseMessage': 'Error!, Invalid Account Id or Customer Id supplied'}
rac_check = RACCheck.add_rac_check(
customer_id = customer_id,