fix(测试跟踪): excel导入导出报错

--bug=1015514 --user=陈建星 【测试跟踪】导入测试用例,下载用例模版,导出的模版内容是空的 https://www.tapd.cn/55049933/s/1215305
This commit is contained in:
chenjianxing 2022-07-29 14:15:22 +08:00 committed by jianxing
parent 388ded7a26
commit b5677dd83e
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,7 @@
<mssql-jdbc.version>7.4.1.jre8</mssql-jdbc.version>
<postgresql.version>42.3.2</postgresql.version>
<java-websocket.version>1.5.3</java-websocket.version>
<xmlbeans.version>3.1.0</xmlbeans.version>
</properties>
<dependencies>
@ -216,7 +217,7 @@
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>3.0.0</version>
<version>${xmlbeans.version}</version>
</dependency>

View File

@ -1307,6 +1307,7 @@ public class TestCaseService {
Translator.get("test_case_import_template_name"), Translator.get("test_case_import_template_sheet"), handler);
} catch (Exception e) {
LogUtil.error(e);
MSException.throwException(e);
}
}