Merge branch 'main' of http://192.168.65.198:3000/toolchaintechnologycenter/spdm-backend
This commit is contained in:
@@ -707,12 +707,13 @@ public class PbsServiceDecorator implements IPbsServiceDecorator {
|
||||
}
|
||||
|
||||
private String uploadHpcFile(String filePath,String subDir){
|
||||
Path path = Paths.get(filePath);
|
||||
log.error("pbs上传求解文件:{},{}",filePath,subDir);
|
||||
try {
|
||||
Path path = Paths.get(filePath);
|
||||
String hpcFilePath = uploadFileInChunks(path, subDir);
|
||||
return hpcFilePath;
|
||||
} catch (Exception e) {
|
||||
log.error("pbs上传求解文件异常:{}",e.getMessage());
|
||||
e.printStackTrace();
|
||||
throw new RuntimeException("Hpc上传求解文件异常");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user