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 88f362b commit 5dbd26cCopy full SHA for 5dbd26c
ydb/core/viewer/viewer_topic_data.cpp
@@ -202,7 +202,11 @@ void TTopicData::FillProtoResponse(ui64 maxTotalSize) {
202
if (codec == nullptr) {
203
return ReplyAndPassAway(GetHTTPINTERNALERROR("text/plain", "Message decompression failed"));
204
}
205
- setData(*messageProto, std::move(codec->Decompress(dataChunk.GetData())));
+ try {
206
+ setData(*messageProto, std::move(codec->Decompress(dataChunk.GetData())));
207
+ } catch (const std::exception& e) {
208
+ setData(*messageProto, ">>> Message decompression failed <<<");
209
+ }
210
} else {
211
setData(*messageProto, std::move(*dataChunk.MutableData()));
212
0 commit comments