xiatian 4 년 전
부모
커밋
b266330607
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      themis-business/src/main/java/com/qmth/themis/business/templete/TaskImportCommon.java

+ 1 - 5
themis-business/src/main/java/com/qmth/themis/business/templete/TaskImportCommon.java

@@ -108,11 +108,7 @@ public class TaskImportCommon {
                     .add(this.path);
             file = new File(localPath.toString());
         } else {
-            try {
-                file = this.ossUtil.download(false, this.path, this.path);
-            } catch (IOException e) {
-                log.error("请求出错", e);
-            }
+            file = this.ossUtil.download(false, this.path, this.path);
         }
         return file;
     }