aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cloud-backup4
1 files changed, 3 insertions, 1 deletions
diff --git a/cloud-backup b/cloud-backup
index eb3267d..f6f2d28 100644
--- a/cloud-backup
+++ b/cloud-backup
@@ -34,5 +34,7 @@
"Size: " . $Cloud->"size" . "\n" . \
"Download key: " . $Cloud->"secret-download-key") "" "true";
} on-error={
- $LogPrintExit error ("Failed uploading backup for " . $Identity . " to cloud.") false;
+ $SendNotification ([ $SymbolForNotification "warning-sign" ] . "Cloud backup failed") \
+ ("Failed uploading backup for " . $Identity . " to cloud!\n\n" . [ $DeviceInfo ]);
+ $LogPrintExit error ("Failed uploading backup for " . $Identity . " to cloud!") true;
}