GetCurrentDealInfo err: handle correctly err case
This commit is contained in:
parent
8e45d27a06
commit
bf9d0bca40
1
extern/storage-sealing/states_failed.go
vendored
1
extern/storage-sealing/states_failed.go
vendored
@ -392,6 +392,7 @@ func (m *Sealing) HandleRecoverDealIDs(ctx Context, sector SectorInfo) error {
|
|||||||
res, err := m.DealInfo.GetCurrentDealInfo(ctx.Context(), tok, dp, *p.DealInfo.PublishCid)
|
res, err := m.DealInfo.GetCurrentDealInfo(ctx.Context(), tok, dp, *p.DealInfo.PublishCid)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
failed[i] = xerrors.Errorf("getting current deal info for piece %d: %w", i, err)
|
failed[i] = xerrors.Errorf("getting current deal info for piece %d: %w", i, err)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if res.MarketDeal == nil {
|
if res.MarketDeal == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user