Skip to content

Commit

Permalink
Reduce severity of decode error to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
shleikes committed Oct 8, 2024
1 parent d1da119 commit 56a48bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/chainlib/grpcproxy/grpcproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (RawBytesCodec) Marshal(v interface{}) ([]byte, error) {
func (RawBytesCodec) Unmarshal(data []byte, v interface{}) error {
bufferPtr, ok := v.(*[]byte)
if !ok {
return utils.LavaFormatError("cannot decode into type", nil, utils.LogAttr("v", v), utils.LogAttr("data", data))
return utils.LavaFormatDebug("cannot decode into type", utils.LogAttr("v", v), utils.LogAttr("data", data))
}
*bufferPtr = data
return nil
Expand Down

0 comments on commit 56a48bb

Please sign in to comment.