Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into kennytm/schema-tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytm authored Dec 5, 2019
2 parents acbd9ec + 9a07a50 commit 8169a88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion syncer/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,9 @@ func (s *Syncer) sync(ctx *tcontext.Context, queueBucket string, db *DBConn, job

fatalF := func(err error, errType pb.ErrorType) {
s.execErrorDetected.Set(true)
s.runFatalChan <- unit.NewProcessError(errType, err)
if !utils.IsContextCanceledError(err) {
s.runFatalChan <- unit.NewProcessError(errType, err)
}
clearF()
}

Expand Down

0 comments on commit 8169a88

Please sign in to comment.