From e11c593c7d21d9602fb951f32f6ced8b30a86254 Mon Sep 17 00:00:00 2001 From: Keuin Date: Wed, 10 Mar 2021 09:40:59 +0800 Subject: print detailed information if incremental backup fail due to an IO exception. --- src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/keuin/kbackupfabric/operation/BackupOperation.java') 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)); -- cgit v1.2.3