From e0a96fc1a2a165ab703b8ce39f079de866d7ac23 Mon Sep 17 00:00:00 2001 From: Hamza Waleed Date: Tue, 28 Jan 2025 17:44:56 +0500 Subject: [PATCH] chore: add logs for debugging (#1030) * chore: add debug log --- enterprise_catalog/apps/catalog/algolia_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/enterprise_catalog/apps/catalog/algolia_utils.py b/enterprise_catalog/apps/catalog/algolia_utils.py index 77278708..caf2d8f3 100644 --- a/enterprise_catalog/apps/catalog/algolia_utils.py +++ b/enterprise_catalog/apps/catalog/algolia_utils.py @@ -1253,6 +1253,7 @@ def _get_is_active_course_run(full_course_run): f'[_get_is_active_course_run] course run is not active ' f'key: {full_course_run.get("key")}, ' f'is_marketable: {full_course_run.get("is_marketable")}, ' + f'is_marketable_external: {full_course_run.get("is_marketable_external")}, ' f'is_enrollable: {full_course_run.get("is_enrollable")}, ' f'availability: {availability}, ' f'status: {full_course_run.get("status")}'