Added error checking
This commit is contained in:
parent
7eb7edb950
commit
f0944030b7
4
extern/sector-storage/manager.go
vendored
4
extern/sector-storage/manager.go
vendored
@ -693,6 +693,10 @@ func (m *Manager) FinalizeReplicaUpdate(ctx context.Context, sector storage.Sect
|
|||||||
err = multierr.Append(err, move(moveUnsealed))
|
err = multierr.Append(err, move(moveUnsealed))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return xerrors.Errorf("moving sector to storage: %w", err)
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user