Update PHPStan and fix new issues
[MAILPOET-4175]
This commit is contained in:
committed by
Veljko V
parent
f4f2af0f40
commit
095f85c897
@ -71,7 +71,7 @@ class CronWorkerRunner {
|
||||
$this->processTask($worker, $task);
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
if ($task && $e->getCode() !== CronHelper::DAEMON_EXECUTION_LIMIT_REACHED) {
|
||||
if (isset($task) && $task && $e->getCode() !== CronHelper::DAEMON_EXECUTION_LIMIT_REACHED) {
|
||||
$this->cronWorkerScheduler->rescheduleProgressively($task);
|
||||
}
|
||||
throw $e;
|
||||
|
Reference in New Issue
Block a user