Merge pull request #19899 from edx/waheed/LEARNER-6643-add-debug-log
Added log for credit providers fetched from cache.
This commit is contained in:
@@ -184,6 +184,8 @@ class CreditProvider(TimeStampedModel):
|
||||
]
|
||||
|
||||
cache.set(cls.CREDIT_PROVIDERS_CACHE_KEY, credit_providers)
|
||||
else:
|
||||
log.info(u"Found %d credit providers from cache.", len(credit_providers))
|
||||
|
||||
if providers_list:
|
||||
credit_providers = [provider for provider in credit_providers if provider['id'] in providers_list]
|
||||
|
||||
Reference in New Issue
Block a user