From 56a48bb4544e73e920ef2f7adc33459d3b368993 Mon Sep 17 00:00:00 2001 From: Elad Gildnur Date: Tue, 8 Oct 2024 14:35:36 +0300 Subject: [PATCH] Reduce severity of decode error to debug --- protocol/chainlib/grpcproxy/grpcproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/chainlib/grpcproxy/grpcproxy.go b/protocol/chainlib/grpcproxy/grpcproxy.go index 3eee098cfb..d9e86fa48b 100644 --- a/protocol/chainlib/grpcproxy/grpcproxy.go +++ b/protocol/chainlib/grpcproxy/grpcproxy.go @@ -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