summaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/operation/RestoreOperation.java6
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
}
}