Browse Source

Merge pull request #1361 in DESIGN/design from ~BRYANT/design:release/10.0 to release/10.0

* commit '23cca4f342da97ae0581b2e3cd1a3bb9c678bcd4':
  无jira任务 加一下日志
feature/big-screen
Bryant 5 years ago
parent
commit
f53ca49842
  1. 2
      designer-base/src/main/java/com/fr/design/update/actions/RecoverForDesigner.java

2
designer-base/src/main/java/com/fr/design/update/actions/RecoverForDesigner.java

@ -30,6 +30,7 @@ public class RecoverForDesigner implements Recover {
CommonIOUtils.copyFilesInDirByPath(StableUtils.pathJoin(installHome, ProjectConstants.LOGS_NAME,
UpdateConstants.INSTALL_LIB, UpdateConstants.DESIGNERBACKUPPATH),
StableUtils.pathJoin(StableUtils.getInstallHome(), ProjectConstants.LIB_NAME));
FineLoggerFactory.getLogger().error("Recover down for designer");
return true;
} catch (IOException e) {
FineLoggerFactory.getLogger().error("Recover error for designer", e);
@ -54,6 +55,7 @@ public class RecoverForDesigner implements Recover {
CommonIOUtils.copyFilesInDirByPath(StableUtils.pathJoin(installHome,ProjectConstants.LIB_NAME),
StableUtils.pathJoin(installBackup,UpdateConstants.DESIGNERBACKUPPATH));
DesignerContext.getDesignerFrame().prepareForExit();
FineLoggerFactory.getLogger().error("Backup down for designer");
return true;
} catch (IOException e) {
UpdateException exception = new UpdateException("Backup Exception for designer" + e.getMessage());

Loading…
Cancel
Save