提交 dd4a5609 authored 作者: blu's avatar blu

feature: report status

上级 edeb845c
......@@ -1105,7 +1105,6 @@ public:
try {
auto resp = json::parse(strResp);
//TODO: open this swith when video server has implemented this functionality
if(true) {
if(resp.count("code") == 0 || resp["code"] != 0) {
bUploadFailed = true;
reportUploadFailure(selfId, true, strResp);
......@@ -1149,7 +1148,6 @@ public:
}
}
}
}
catch(exception &e) {
spdlog::error("evslicer {} {}:{} exception: {}", this->selfId, __FILE__, __LINE__, e.what());
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论