Update eligibility_check.py

This commit is contained in:
VivianDee
2025-06-12 14:35:32 +01:00
parent 1a6ac6a37f
commit 48020f5284
+2 -2
View File
@@ -74,10 +74,10 @@ class EligibilityCheckService(BaseService):
logger.info(f"This is Response (from Eligibility Check): {str(response)}", exc_info=True)
if not response or response['responseCode'] != '00':
if not response:
if response:
logger.error(f"{response['responseMessage']}")
logger.error(f"{response}")
return ResponseHelper.error(result_description=f"RACCheck failed")