fix(测试跟踪): 修复测试计划内查看未通过状态的用例时报错的问题
--bug=1015332 --user=宋天阳 【测试计划】执行接口case,查看执行结果报“Unexpected token c in JSON at position 2” https://www.tapd.cn/55049933/s/1210638
This commit is contained in:
parent
32e80b24a0
commit
74cae34419
|
@ -1475,10 +1475,10 @@ public class ApiDefinitionService {
|
|||
content.put("envName", this.getEnvNameByEnvConfig(result.getProjectId(), result.getEnvConfig()));
|
||||
}
|
||||
contentStr = content.toString();
|
||||
reportResult.setContent(contentStr);
|
||||
} catch (Exception e) {
|
||||
LogUtil.error("解析content失败!", e);
|
||||
}
|
||||
reportResult.setContent(contentStr);
|
||||
return reportResult;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue