diff --git a/bin/cron.php b/bin/cron.php index 1d36246debd564e984690fd1bf3bdeac87e364b9..c627bd047601a6dc15be62cfd9f2cc3f3c303a08 100644 --- a/bin/cron.php +++ b/bin/cron.php @@ -19,6 +19,10 @@ try { $Response->send(); } catch (QUI\Exception $Exception) { + QUI\System\Log::addAlert($Exception->getMessage()); + $Response->setStatusCode(Response::HTTP_SERVICE_UNAVAILABLE); $Response->send(); } + +exit;