提交 aaf99673 编写于 作者: G goerzh

Merge branch 'catch-json-parse-ex' into fetch-traceid-func

...@@ -192,7 +192,14 @@ int main(int argc, char **argv) { ...@@ -192,7 +192,14 @@ int main(int argc, char **argv) {
if (strLine.empty()) { if (strLine.empty()) {
continue; continue;
} }
json j = json::parse(strLine);
json j;
try {
j = json::parse(strLine);
}catch (...) {
remove(fileName.c_str());
continue;
}
UpstreamSegment request; UpstreamSegment request;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册