refactor: 记录容器停止失败的日志,并返回报错信息
This commit is contained in:
parent
cf216d1d84
commit
2850017733
|
@ -110,8 +110,8 @@ public class DockerTestEngine extends AbstractEngine {
|
|||
try {
|
||||
restTemplateWithTimeOut.getForObject(uri, String.class);
|
||||
} catch (Exception e) {
|
||||
LogUtil.error("stop load test fail... " + testId);
|
||||
MSException.throwException(Translator.get("container_delete_fail"));
|
||||
LogUtil.error("stop load test fail... " + testId, e);
|
||||
MSException.throwException(Translator.get("container_delete_fail") + ", Error: " + e.getMessage());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue