Skip to content

Commit

Permalink
Added error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Mar 30, 2022
1 parent 7eb7edb commit f094403
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extern/sector-storage/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,10 @@ func (m *Manager) FinalizeReplicaUpdate(ctx context.Context, sector storage.Sect
err = multierr.Append(err, move(moveUnsealed))
}

if err != nil {
return xerrors.Errorf("moving sector to storage: %w", err)
}

return nil
}

Expand Down

0 comments on commit f094403

Please sign in to comment.