bailing out from onApplyEventStruct()
This commit is contained in:
parent
645af21d03
commit
baaa255182
@ -1074,7 +1074,9 @@ func (this *Migrator) executeWriteFuncs() error {
|
|||||||
select {
|
select {
|
||||||
case eventStruct := <-this.applyEventsQueue:
|
case eventStruct := <-this.applyEventsQueue:
|
||||||
{
|
{
|
||||||
this.onApplyEventStruct(eventStruct)
|
if err := this.onApplyEventStruct(eventStruct); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user