diff options
author | Keuin <[email protected]> | 2021-03-10 09:40:59 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2021-03-10 09:40:59 +0800 |
commit | e11c593c7d21d9602fb951f32f6ced8b30a86254 (patch) | |
tree | d36f40b6269f054df3d1b8cd2b3c4a7728c371e8 /src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java | |
parent | f8fd155c736c921375a17c7f133a17e40ee89041 (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.java | 2 |
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)); |