aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorypodlesov <ypodlesov@yandex-team.com>2024-02-26 17:52:59 +0300
committerypodlesov <ypodlesov@yandex-team.com>2024-02-26 18:14:39 +0300
commit2078655164abf61e9f06a470c78d83bb36372eb7 (patch)
tree3da088ef246e150976d52d13b424dc6a698dd6d0 /library
parent97ce6c012a549d81a7280efba8b0dfc32bd55ac3 (diff)
downloadydb-2078655164abf61e9f06a470c78d83bb36372eb7.tar.gz
Add correct log for ifax snapshots unzipping.
Add correct log for ifax snapshots unzipping. 7b2383c901420c90a431c34bb7f8695372b68edf
Diffstat (limited to 'library')
-rw-r--r--library/cpp/xml/document/xml-document.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/library/cpp/xml/document/xml-document.cpp b/library/cpp/xml/document/xml-document.cpp
index 8e4c908589..18a554d732 100644
--- a/library/cpp/xml/document/xml-document.cpp
+++ b/library/cpp/xml/document/xml-document.cpp
@@ -82,10 +82,8 @@ namespace NXml {
TDocHolder doc(xmlCtxtReadMemory(pctx.Get(), xml.c_str(), (int)xml.size(), nullptr, nullptr, XML_PARSE_NOCDATA));
- if (!doc) {
- TString strToParse(xml.c_str(), (int)xml.size());
- THROW(XmlException, "Can't parse string") << " string: " << strToParse;
- }
+ if (!doc)
+ THROW(XmlException, "Can't parse string");
Doc = std::move(doc);
}