Skip to content

Commit

Permalink
Add logging when delete fails
Browse files Browse the repository at this point in the history
  • Loading branch information
ecartz committed Nov 16, 2022
1 parent 67c3c1c commit 7873d68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/includes/actions/backup/delete_confirm.php
Expand Up @@ -16,5 +16,6 @@

return $Admin->link();
} else {
error_log(sprintf('Could not delete [%s] from [%s]', $source, DIR_FS_BACKUP));
$messageStack->add(sprintf(ERROR_PATH_NOT_REMOVEABLE, $_GET['file']), 'error');
}

0 comments on commit 7873d68

Please sign in to comment.