Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
dont include value in the error message for set errors (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping authored and aarshkshah1992 committed Jun 29, 2020
1 parent c0c6f00 commit 1974ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actors/util/adt/array.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (a *Array) AppendContinuous(value runtime.CBORMarshaler) error {

func (a *Array) Set(i uint64, value runtime.CBORMarshaler) error {
if err := a.root.Set(a.store.Context(), i, value); err != nil {
return xerrors.Errorf("array set failed to set index %v value %v in root %v: %w", i, value, a.root, err)
return xerrors.Errorf("array set failed to set index %v in root %v: %w", i, a.root, err)
}
return nil
}
Expand Down

0 comments on commit 1974ff6

Please sign in to comment.