Skip to content

Commit

Permalink
fix: Ignore stream close error in ProposeDeal
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed May 30, 2023
1 parent 9331225 commit a0ff0f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storagemarket/impl/clientstates/client_states.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ func ProposeDeal(ctx fsm.Context, environment ClientDealEnvironment, deal storag

err = s.Close()
if err != nil {
return ctx.Trigger(storagemarket.ClientEventStreamCloseError, err)
// doesn't really matter but log the error
log.Debugw("failed to close deal stream", "error", err)
}

tok, _, err := environment.Node().GetChainHead(ctx.Context())
Expand Down

0 comments on commit a0ff0f2

Please sign in to comment.