Commit 4e740f63 authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

docs(ipfs2/main)

@mappum

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent 22a4cc7d
......@@ -252,6 +252,8 @@ func outputResponse(res cmds.Response, root *cmds.Command) error {
fmt.Printf(errorFormat, res.Error().Error())
if res.Error().Code != cmds.ErrClient {
// TODO does ErrClient mean "error the client should see" or "this
// is an error caused by the user ie. user error"?
return res.Error()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment