Update eligibility_check.py
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user