Merge pull request #6996 from swift-mx/master

fix: more logging in maybeStartBatch error
This commit is contained in:
Steven Allen 2021-08-06 15:25:37 -07:00 committed by GitHub
commit 5e27023ba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,6 +229,11 @@ func (b *CommitBatcher) maybeStartBatch(notif bool) ([]sealiface.CommitBatchRes,
} else {
res, err = b.processBatch(cfg)
}
if err != nil {
log.Warnf("CommitBatcher maybeStartBatch individual:%v processBatch %v", individual, err)
}
if err != nil && len(res) == 0 {
return nil, err
}