diff --git a/cmd/global-heal.go b/cmd/global-heal.go index 39326c5c1..54196245d 100644 --- a/cmd/global-heal.go +++ b/cmd/global-heal.go @@ -283,6 +283,11 @@ func (er *erasureObjects) healErasureSet(ctx context.Context, buckets []BucketIn finished: nil, }) + if err != nil { + logger.LogIf(ctx, err) + return err + } + select { // If context is canceled don't mark as done... case <-ctx.Done():