@cryptotaxi247 / kubo / commits / 4e740f63e

docs(ipfs2/main)

@mappum License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Brian Tiger Chow committed Nov 12, 2014 at 15:24 UTC 4e740f63eb062ba66d502db991f5f336a1c72ebc
1 file changed +2
cmd/ipfs2/main.go
+2
@@ -252,6 +252,8 @@ func outputResponse(res cmds.Response, root *cmds.Command) error {
252 fmt.Printf(errorFormat, res.Error().Error())
253
254 if res.Error().Code != cmds.ErrClient {
255 + // TODO does ErrClient mean "error the client should see" or "this
256 + // is an error caused by the user ie. user error"?
257 return res.Error()
258 }
259