Skip to content

Commit 9100e98

Browse files
committed
style: Comments added
1 parent 7ca938c commit 9100e98

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • cms/djangoapps/modulestore_migrator

cms/djangoapps/modulestore_migrator/tasks.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,10 @@ def bulk_migrate_from_modulestore(
850850
)
851851
status.increment_completed_steps()
852852
except: # pylint: disable=bare-except
853+
# Mark this library as failed, migration of other libraries can continue
854+
# If this case occurs and the migration ends without any further issues,
855+
# the bulk migration status is success,
856+
# TODO: add an intermediate status such as 'partially satisfactory'
853857
source_data.migration.is_failed = True
854858

855859
# Forwarding legacy content to migrated content

0 commit comments

Comments
 (0)