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.
1 parent 0eecbbe commit 65d7aebCopy full SHA for 65d7aeb
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