From 2dc669c2ae9ab83ea26b19f502b289c1047eaabc Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Thu, 19 Aug 2021 15:15:54 +0200 Subject: Output exception in cron Signed-off-by: Louis Chemineau --- cron.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron.php b/cron.php index 815786ada53..40976c39f64 100644 --- a/cron.php +++ b/cron.php @@ -158,6 +158,8 @@ try { exit(); } catch (Exception $ex) { \OC::$server->getLogger()->logException($ex, ['app' => 'cron']); + echo $ex . PHP_EOL; } catch (Error $ex) { \OC::$server->getLogger()->logException($ex, ['app' => 'cron']); + echo $ex . PHP_EOL; } -- cgit v1.2.3