Closed NasrinAfrozKakoli closed 3 months ago
'CleanupJob' Class's 'sendNotification' method doesn't handle failure as it does for 'BackupJob' class. For this the cleanup doesn't continue for the rest of it and or for the rest of the disks.
BackupJob has:
protected function sendNotification($notification): void { if ($this->sendNotifications) { rescue( fn () => event($notification), fn () => consoleOutput()->error('Sending notification failed') ); } }
CleanupJob has:
protected function sendNotification($notification): void { if ($this->sendNotifications) { event($notification); } }
Fixed in the latest release.
'CleanupJob' Class's 'sendNotification' method doesn't handle failure as it does for 'BackupJob' class. For this the cleanup doesn't continue for the rest of it and or for the rest of the disks.
BackupJob has:
CleanupJob has: