Browse Source

REPORT-76403【迭代】更新日志-更新内容为空,报错Unparseable date: "null"

1、处理下异常
feature/x
Link.Zhao 2 years ago
parent
commit
20add96662
  1. 4
      designer-base/src/main/java/com/fr/design/update/ui/dialog/UpdateMainDialog.java

4
designer-base/src/main/java/com/fr/design/update/ui/dialog/UpdateMainDialog.java

@ -462,7 +462,7 @@ public class UpdateMainDialog extends UIDialog {
}
//从文件中读取缓存的更新信息
private void getCachedUpdateInfo(String keyword) throws Exception {
private void getCachedUpdateInfo(String keyword) {
String cacheInfoPath = getUpdateCacheInfo();
File cacheFile = new File(StableUtils.pathJoin(WorkContext.getCurrent().getPath(), "resources", "offlineres", cacheInfoPath));
if (!ComparatorUtils.equals(lastUpdateCacheState, "success")) {
@ -491,6 +491,8 @@ public class UpdateMainDialog extends UIDialog {
}
}
}
} catch (Exception e) {
FineLoggerFactory.getLogger().error(e, e.getMessage());
}
}
}

Loading…
Cancel
Save