Skip to content

Commit b63edab

Browse files
committed
Fix bug passing parameters to mark_as_errored in wrong order
1 parent b185503 commit b63edab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

massmigration/migrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,4 @@ def wrapped_operation(self, obj, attempt_uuid, db_alias):
240240
obj.__class__.__name__,
241241
obj.pk,
242242
)
243-
self.mark_as_errored(error, db_alias)
243+
self.mark_as_errored(db_alias, error)

0 commit comments

Comments
 (0)