FIX: do not parse dirty json info

Change-Id: I543ae2818c5b23c351dc355abf115e76d5af75dc
This commit is contained in:
Stone Li 2022-12-05 10:44:16 +08:00 committed by Lane.Wei
parent 316ca3f5f5
commit 4700362f10
1 changed files with 1 additions and 0 deletions

View File

@ -2032,6 +2032,7 @@ int MachineObject::parse_json(std::string payload)
});
return -1;
}
return -1;
}
} else {
BOOST_LOG_TRIVIAL(warning) << "unsupported msg_type=" << j_pre["print"]["msg"].get<std::string>();