summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2021-03-10 09:40:59 +0800
committerKeuin <[email protected]>2021-03-10 09:40:59 +0800
commite11c593c7d21d9602fb951f32f6ced8b30a86254 (patch)
treed36f40b6269f054df3d1b8cd2b3c4a7728c371e8 /src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java
parentf8fd155c736c921375a17c7f133a17e40ee89041 (diff)
print detailed information if incremental backup fail due to an IO exception.
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java b/src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java
index 0d9cb65..1798fb7 100644
--- a/src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java
+++ b/src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java
@@ -56,7 +56,7 @@ public class BackupOperation extends InvokableAsyncBlockingOperation {
PrintUtil.msgInfo(context, msgText, true);
} else {
// failed
- PrintUtil.msgErr(context, "Backup operation failed. No further information.");
+ PrintUtil.msgErr(context, "Backup operation failed: " + result.getFeedback());
}
} catch (SecurityException e) {
msgInfo(context, String.format("Failed to create backup saving directory: %s. Failed to backup.", backupSaveDirectory));