Unverified Commit e4d8360d authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #5469 from overbool/fix/print-object-diff-err

fix(object): print object diff error
parents e4e35047 cbe86a91
......@@ -74,6 +74,10 @@ Example:
}
changes, err := api.Object().Diff(req.Context(), pa, pb)
if err != nil {
res.SetError(err, cmdkit.ErrNormal)
return
}
out := make([]*dagutils.Change, len(changes))
for i, change := range changes {
......
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