diff options
author | Keuin <[email protected]> | 2021-01-25 02:37:12 +0800 |
---|---|---|
committer | keuin <[email protected]> | 2021-01-25 02:37:12 +0800 |
commit | 93494e7e04e05beb4f07cfabdd14c674b97a12e5 (patch) | |
tree | 22d8bb0d1976f7b23352f678afcfe88097c6176d /src/main/java/com/keuin | |
parent | 09e4e2f216d3c0587c1161696033615d3ff60cd6 (diff) |
improve expressions
Diffstat (limited to 'src/main/java/com/keuin')
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java b/src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java index ae4d879..e18f3c8 100644 --- a/src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java +++ b/src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java @@ -99,13 +99,13 @@ public class RestoreOperation extends InvokableBlockingOperation { } } catch (SecurityException e) { - PrintUtil.error("An exception occurred while restoring: " + e.getMessage()); e.printStackTrace(); + PrintUtil.error("An exception occurred while restoring."); } catch (IOException e) { - PrintUtil.error(e.toString()); - PrintUtil.error("Failed to restore due to an unhandled I/O exception."); e.printStackTrace(); + PrintUtil.error("Failed to restore due to an unexpected I/O exception."); } + PrintUtil.error("Failed to restore."); System.exit(0); // all failed restoration will eventually go here } } |