Skip to content

Commit 502a6ae

Browse files
committed
fix: return the correct error
This was causing cancel errors to be printed twice.
1 parent 2e550a1 commit 502a6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func (c *client) Execute(req *cmds.Request, re cmds.ResponseEmitter, env cmds.En
9696
return nil
9797
}
9898

99-
return err
99+
return closeErr
100100
}
101101
}
102102

0 commit comments

Comments
 (0)