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

dont include value in the error message for set errors #365

Merged
merged 1 commit into from
May 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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