From a0ff0f257ec151673c6fb86c833bb5fc7a50f9d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Tue, 30 May 2023 15:42:25 +0200 Subject: [PATCH] fix: Ignore stream close error in ProposeDeal --- storagemarket/impl/clientstates/client_states.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/storagemarket/impl/clientstates/client_states.go b/storagemarket/impl/clientstates/client_states.go index de176136..22b66c05 100644 --- a/storagemarket/impl/clientstates/client_states.go +++ b/storagemarket/impl/clientstates/client_states.go @@ -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())