Merge pull request #6739 from filecoin-project/fix/cancel-stops-retrieval
This commit is contained in:
commit
5c3e79e8d0
@ -680,6 +680,8 @@ func readSubscribeEvents(ctx context.Context, dealID retrievalmarket.DealID, sub
|
||||
return nil
|
||||
case rm.DealStatusRejected:
|
||||
return xerrors.Errorf("Retrieval Proposal Rejected: %s", state.Message)
|
||||
case rm.DealStatusCancelled:
|
||||
return xerrors.Errorf("Retrieval was cancelled externally: %s", state.Message)
|
||||
case
|
||||
rm.DealStatusDealNotFound,
|
||||
rm.DealStatusErrored:
|
||||
|
Loading…
Reference in New Issue
Block a user