Skip to content

Commit 8c0f805

Browse files
committed
Use checkAbort
1 parent 6944341 commit 8c0f805

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

go/logic/migrator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ func (this *Migrator) Migrate() (err error) {
545545
this.consumeRowCopyComplete()
546546
this.migrationContext.Log.Infof("Row copy complete")
547547
// Check if row copy was aborted due to error
548-
if err := this.migrationContext.GetAbortError(); err != nil {
548+
if err := this.checkAbort(); err != nil {
549549
return err
550550
}
551551
if err := this.hooksExecutor.onRowCopyComplete(); err != nil {

0 commit comments

Comments
 (0)