|
@@ -271,8 +271,14 @@ public class SceneDownloadHandlerServiceImpl {
|
|
|
Callable<Boolean> call = new Callable() {
|
|
|
@Override
|
|
|
public Boolean call() throws Exception {
|
|
|
- zipOssFilesHandler(out, num, count, total, resolution,
|
|
|
- imagesVersion, cacheKeys,filePath, imageNumPath);
|
|
|
+ try {
|
|
|
+ zipOssFilesHandler(out, num, count, total, resolution,
|
|
|
+ imagesVersion, cacheKeys,filePath, imageNumPath);
|
|
|
+ }catch (Exception e){
|
|
|
+ log.error("下载失败", e);
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
return true;
|
|
|
}
|
|
|
};
|