Skip to content

Commit 6a7c2ca

Browse files
authored
Merge pull request #162 from ipfs/fix/double-cancel-error
fix: return the correct error
2 parents 2e550a1 + 502a6ae commit 6a7c2ca

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)