fix: better error message on missing message

This commit is contained in:
Steven Allen 2021-07-20 11:20:20 -07:00
parent e0208e3595
commit ad1dd36193

View File

@ -70,7 +70,7 @@ func (mgr *CurrentDealInfoManager) dealIDFromPublishDealsMsg(ctx context.Context
}
if lookup == nil {
return dealID, nil, xerrors.Errorf("looking for publish deal message %s: lookup nil", publishCid)
return dealID, nil, xerrors.Errorf("looking for publish deal message %s: not found", publishCid)
}
if lookup.Receipt.ExitCode != exitcode.Ok {