Skip to content

Commit 75c3d47

Browse files
author
Till Brehm
committed
Add warning message to log file when backup fails.
1 parent 55ad281 commit 75c3d47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/lib/classes/cron.d/500-backup.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public function onRunJob() {
142142
}
143143
} else {
144144
if(is_file($web_backup_dir.'/'.$web_backup_file)) unlink($web_backup_dir.'/'.$web_backup_file);
145+
$app->log('Backup of '.$web_path.' failed.', LOGLEVEL_WARN);
145146
}
146147

147148
//* Remove old backups

0 commit comments

Comments
 (0)