We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 193234e + 65d7aeb commit da0712cCopy full SHA for da0712c
redisinsight/ui/src/utils/formatters/valueFormatters.tsx
@@ -144,6 +144,10 @@ const formattingBuffer = (
144
}
145
case KeyValueFormat.Protobuf: {
146
try {
147
+ if (reply.data?.length === 0) {
148
+ throw new Error()
149
+ }
150
+
151
const decoded = getData(Buffer.from(reply.data))
152
const value = JSONBigInt.stringify(decoded)
153
return JSONViewer({ value, ...props })
0 commit comments