Merge pull request #6996 from swift-mx/master
fix: more logging in maybeStartBatch error
This commit is contained in:
commit
5e27023ba7
5
extern/storage-sealing/commit_batch.go
vendored
5
extern/storage-sealing/commit_batch.go
vendored
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user