|
|
@@ -11,6 +11,7 @@ import cn.hutool.core.util.ZipUtil;
|
|
|
import cn.hutool.http.HttpUtil;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.fdkankan.common.constant.CommonOperStatus;
|
|
|
import com.fdkankan.common.constant.CommonStatus;
|
|
|
import com.fdkankan.common.constant.CommonSuccessStatus;
|
|
|
import com.fdkankan.common.constant.SceneSource;
|
|
|
@@ -400,7 +401,10 @@ public class SceneOfflinePackagePushServiceImpl extends ServiceImpl<SceneOffline
|
|
|
if(deployResult.getCode() != 0){
|
|
|
throw new RuntimeException("部署端接收部署指令失败");
|
|
|
}
|
|
|
- }finally {
|
|
|
+ }catch (Exception e){
|
|
|
+ log.error("场景推送失败,num:{}", scenePushBean.getNum(), e);
|
|
|
+ throw e;
|
|
|
+ } finally {
|
|
|
log.info("删除原始压缩包,zipPath:{}", zipPath);
|
|
|
FileUtil.del(zipPath);
|
|
|
log.info("删除推送数据,unzipPath:{}", unzipPath);
|