From f639f21790e5a4bb7bfedf8bf790f4d66ea838ca Mon Sep 17 00:00:00 2001 From: Alie Langston Date: Thu, 19 Sep 2024 16:46:40 -0400 Subject: [PATCH] fix: update log level --- learning_assistant/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learning_assistant/api.py b/learning_assistant/api.py index 061747a..3e0b5e0 100644 --- a/learning_assistant/api.py +++ b/learning_assistant/api.py @@ -112,7 +112,7 @@ def render_prompt_template(request, user_id, course_run_id, unit_usage_key, cour try: _, unit_content = get_block_content(request, user_id, course_run_id, unit_usage_key) except InvalidKeyError: - log.info( + log.warning( 'Failed to retrieve course content for course_id=%(course_run_id)s because of ' 'invalid unit_id=%(unit_usage_key)s', {'course_run_id': course_run_id, 'unit_usage_key': unit_usage_key}