Merge pull request #20456 from edx/asad/PROD-230-logs

updated logs
This commit is contained in:
AsadAzam
2019-05-08 17:20:19 +05:00
committed by GitHub

View File

@@ -303,7 +303,7 @@ class LibraryContentModule(LibraryContentFields, XModule, StudioEditableModule):
for block_type, block_id in self.selected_children():
child = self.runtime.get_block(self.location.course_key.make_usage_key(block_type, block_id))
if child is None:
logger.info("Child not found for [%s] [%s]".format(str(block_type), str(block_id)))
logger.info("Child not found for {} {}".format(str(block_type), str(block_id)))
yield child
def student_view(self, context):