-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle ipfs object diff
error
#5468
Comments
@overbool Wanna take this one? |
BTW, one thing I'm not understanding about Go: it doesn't complain about the unused |
@schomatis I am willing to do it, thx. |
Answering my own question: from https://golang.org/ref/spec#Short_variable_declarations
So the |
https://github.com/ipfs/go-ipfs/blob/e4e35047bd338029fd2c4ff25c71bc6cccc35bf3/core/commands/object/diff.go#L76-L95
The error generated by the
Diff()
function is being ignored and we're silently failing here, e.g.,The text was updated successfully, but these errors were encountered: