Skip to content

Commit

Permalink
Merge pull request #6996 from swift-mx/master
Browse files Browse the repository at this point in the history
fix: more logging in maybeStartBatch error
  • Loading branch information
Stebalien authored Aug 6, 2021
2 parents f7e2885 + cfc10e9 commit 5e27023
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions extern/storage-sealing/commit_batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5e27023

Please sign in to comment.