diff --git a/cronjobs/archive_cleanup.php b/cronjobs/archive_cleanup.php index 83c347c4..c65d8006 100755 --- a/cronjobs/archive_cleanup.php +++ b/cronjobs/archive_cleanup.php @@ -27,7 +27,7 @@ require_once('shared.inc.php'); // If we don't keep archives, delete some now to release disk space if (!$share->purgeArchive()) { - $log->logError("Failed to delete archived shares, not critical but should be checked!"); + $log->logError("Failed to delete archived shares, not critical but should be checked: " . $share->getCronError()); $monitoring->endCronjob($cron_name, 'E0008', 1, true); }